Commit 10304a7 1 parent 1b6a624 commit 10304a7 Copy full SHA for 10304a7
File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -12,14 +12,14 @@ public extension InPlayer {
12
12
/**
13
13
Gets all subscriptions for a given user
14
14
- Parameters:
15
- - page: Number of page. Defauls to 1 .
15
+ - page: Number of page. Defauls to 0 .
16
16
- limit: Number of items per page. Defaults to 10.
17
17
- success: A closure to be executed once the request has finished successfully.
18
18
- subscriptionList: Model containing pagination info and a list of subscriptions.
19
19
- failure: A closure to be executed once the request has finished with error.
20
20
- error: Containing information about the error that occurred.
21
21
*/
22
- public static func getSubscriptions( page: Int = 1 ,
22
+ public static func getSubscriptions( page: Int = 0 ,
23
23
limit: Int = 10 ,
24
24
success: @escaping ( _ subscriptionList: InPlayerSubscriptionList ) -> Void ,
25
25
failure: @escaping ( _ error: InPlayerError ) -> Void ) {
You can’t perform that action at this time.
0 commit comments