Skip to content

Commit

Permalink
Labeling
Browse files Browse the repository at this point in the history
  • Loading branch information
MrPlusGH committed Jun 27, 2020
1 parent 845342a commit 8c02ee3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Includes/Core.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ $CycleScriptBlock = {
$Variables.LastDonated = Get-Date
$Variables.DonateRandom = [PSCustomObject]@{}
}
$Variables.StatusText = "Loading BTC rate from 'api.coinbase.com'.."
$Variables.StatusText = "Loading currencies rate from 'api.coinbase.com'.."
Try{
# $Rates = Invoke-RestMethod "https://api.coinbase.com/v2/exchange-rates?currency=BTC" -TimeoutSec 15 -UseBasicParsing | Select-Object -ExpandProperty data | Select-Object -ExpandProperty rates
$Rates = Invoke-ProxiedWebRequest "https://api.coinbase.com/v2/exchange-rates?currency=$($Config.Passwordcurrency)" -TimeoutSec 15 -UseBasicParsing | convertfrom-json | Select-Object -ExpandProperty data | Select-Object -ExpandProperty rates
Expand Down

0 comments on commit 8c02ee3

Please sign in to comment.