From 782be513bcec63566f2fa1fae06a30ee37087b82 Mon Sep 17 00:00:00 2001 From: Andrew Edwards Date: Sat, 5 Aug 2023 18:06:16 -0400 Subject: [PATCH] Fix ephemeral key route path (#227) --- .../Core Resources/EphemeralKeys/EphemeralKeyRoutes.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/StripeKit/Core Resources/EphemeralKeys/EphemeralKeyRoutes.swift b/Sources/StripeKit/Core Resources/EphemeralKeys/EphemeralKeyRoutes.swift index d38b116e..9ca99a26 100644 --- a/Sources/StripeKit/Core Resources/EphemeralKeys/EphemeralKeyRoutes.swift +++ b/Sources/StripeKit/Core Resources/EphemeralKeys/EphemeralKeyRoutes.swift @@ -34,7 +34,7 @@ public struct StripeEphemeralKeyRoutes: EphemeralKeyRoutes { public var headers: HTTPHeaders = [:] private let apiHandler: StripeAPIHandler - private let ephemeralkeys = APIBase + APIVersion + "ephemeral_key" + private let ephemeralkeys = APIBase + APIVersion + "ephemeral_keys" init(apiHandler: StripeAPIHandler) { self.apiHandler = apiHandler