Skip to content

Commit

Permalink
Consistent notation
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeroMemes committed Dec 18, 2021
1 parent 017d10b commit d5c07e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stripe/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ func getConnectedAccounts() ([]stripe.Account, error) {
func IsAddressBlacklisted(ipAddress net.IP) bool {
var failures int64
var highRisk int64
err := database.DB.QueryRow(`SELECT (failures, high_risk) FROM failed_charges WHERE ip_address = $1`, ipAddress.String()).Scan(&failures, &highRisk)
err := database.DB.QueryRow(`SELECT failures, high_risk FROM failed_charges WHERE ip_address = $1`, ipAddress.String()).Scan(&failures, &highRisk)
if err != nil {
return false
}
Expand Down

0 comments on commit d5c07e3

Please sign in to comment.