Commit Graph
1 Commits
Author SHA1 Message Date
NachoSoto 7bb76a3892 PurchasesOrchestrator.purchase(sk2Product:promotionalOffer:): simplified implementation with new operator (#1602)
Both `return` statements where the same, the `else` was just providing a default value to `customerInfoIfSynced`.
Because `??` doesn't support an `async` function, we couldn't use that. By using this new operator we can simplify the implementation to a single `return` statement.
2022-05-26 14:58:39 -07:00