Skip to content

Commit

Permalink
Corrected fromSubscription type
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew804 committed Jun 16, 2024
1 parent df8e7ab commit 0bf0cfb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public protocol SubscriptionScheduleRoutes: StripeAPIRoute {
startDate: Date?,
defaultSettings: [String: Any]?,
endBehavior: SubscriptionScheduleEndBehavior?,
fromSubscription: Bool?,
fromSubscription: String?,
expand: [String]?) async throws -> SubscriptionSchedule

/// Retrieves the details of an existing subscription schedule. You only need to supply the unique subscription schedule identifier that was returned upon subscription schedule creation.
Expand Down Expand Up @@ -97,7 +97,7 @@ public struct StripeSubscriptionScheduleRoutes: SubscriptionScheduleRoutes {
startDate: Date? = nil,
defaultSettings: [String: Any]? = nil,
endBehavior: SubscriptionScheduleEndBehavior? = nil,
fromSubscription: Bool? = nil,
fromSubscription: String? = nil,
expand: [String]? = nil) async throws -> SubscriptionSchedule {
var body: [String: Any] = [:]

Expand Down

0 comments on commit 0bf0cfb

Please sign in to comment.