Skip to content

Commit

Permalink
Fixed typo for compactMap
Browse files Browse the repository at this point in the history
  • Loading branch information
mattbarker016 committed Apr 11, 2018
1 parent 0b4e535 commit e8d5da6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SwiftyStoreKit/InAppReceipt.swift
Expand Up @@ -180,7 +180,7 @@ internal class InAppReceipt {
return nil
}
#else
return receiptItems.compactMap {
return receiptItems.flatMap {
if let expirationDate = $0.subscriptionExpirationDate {
return (expirationDate, $0)
}
Expand Down

0 comments on commit e8d5da6

Please sign in to comment.