Skip to content

Commit

Permalink
Fixes charges/balance endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
robipresotto committed Jan 25, 2019
1 parent 68e3133 commit 90aee24
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Sources/Stripe/API/Routes/BalanceRoutes.swift
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@ public struct StripeBalanceRoutes: BalanceRoutes {
if let filter = filter {
queryParams = filter.queryParameters
}
return try request.send(method: .GET, path: StripeAPIEndpoint.account.endpoint, query: queryParams)
return try request.send(method: .GET, path: StripeAPIEndpoint.balance.endpoint, query: queryParams)
}
}
2 changes: 1 addition & 1 deletion Sources/Stripe/API/Routes/ChargeRoutes.swift
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,6 @@ public struct StripeChargeRoutes: ChargeRoutes {
queryParams = filter.queryParameters
}

return try request.send(method: .GET, path: StripeAPIEndpoint.account.endpoint, query: queryParams)
return try request.send(method: .GET, path: StripeAPIEndpoint.charges.endpoint, query: queryParams)
}
}

0 comments on commit 90aee24

Please sign in to comment.