Skip to content

Commit

Permalink
endpoints: Fix a missing trailing /
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonycastelli authored Oct 8, 2018
1 parent 20c35da commit 92ff244
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Stripe/API/Helpers/Endpoints.swift
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ internal enum StripeAPIEndpoint {
case .customers: return APIBase + APIVersion + "customers"
case .customer(let id): return APIBase + APIVersion + "customers/\(id)"
case .customerSources(let id): return APIBase + APIVersion + "customers/\(id)/sources"
case .customerDetachSources(let id, let src): return APIBase + APIVersion + "customers/\(id)/sources\(src)"
case .customerDetachSources(let id, let src): return APIBase + APIVersion + "customers/\(id)/sources/\(src)"
case .customerDiscount(let id): return APIBase + APIVersion + "customers/\(id)/discount"

case .tokens: return APIBase + APIVersion + "tokens"
Expand Down

0 comments on commit 92ff244

Please sign in to comment.