Skip to content

Commit

Permalink
Add a clear name descriptor
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonycastelli authored Jun 6, 2017
1 parent 480cdce commit 3dd066d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/API/Routes/CustomerRoutes.swift
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ public final class CustomerRoutes {
- returns: A StripeRequest<> item which you can then use to convert to the corresponding node
*/

public func addNewSource(for customerId: String, inConnectAccount account: String?, source: String) throws -> StripeRequest<Card> {
public func addNewSource(forCustomer customerId: String, inConnectAccount account: String?, source: String) throws -> StripeRequest<Card> {
let body = try Node(node: ["source": source])

var headers: [HeaderKey: String]?
Expand Down

0 comments on commit 3dd066d

Please sign in to comment.