Skip to content

Commit

Permalink
Default service = .production when creating AppleReceiptValidator
Browse files Browse the repository at this point in the history
  • Loading branch information
bizz84 committed Jan 14, 2017
1 parent e316d3f commit 422414b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SwiftyStoreKit/ReceiptValidators.swift
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public struct AppleReceiptValidator: ReceiptValidator {
case sandbox = "https://sandbox.itunes.apple.com/verifyReceipt"
}

public init(service: VerifyReceiptURLType) {
public init(service: VerifyReceiptURLType = .production) {
self.service = service
}

Expand Down

0 comments on commit 422414b

Please sign in to comment.