Skip to content

Commit

Permalink
skip currency
Browse files Browse the repository at this point in the history
  • Loading branch information
schaepher committed Dec 29, 2024
1 parent c00dfd2 commit 9df8306
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions wox.core/plugin/system/converter/modules/currency.go
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,8 @@ func (m *CurrencyModule) parseExchangeRateFromHKAB(ctx context.Context) (rates m
rates = make(map[string]float64)
rawRates := make(map[string]float64)

return rates, nil

body, err := util.HttpGet(ctx, "https://www.hkab.org.hk/en/rates/exchange-rates")
if err != nil {
util.GetLogger().Error(ctx, fmt.Sprintf("Failed to get exchange rates from HKAB: %s", err.Error()))
Expand Down

0 comments on commit 9df8306

Please sign in to comment.