Skip to content

Commit

Permalink
If no App Store subscriptions option are available return empty optio…
Browse files Browse the repository at this point in the history
…ns object (#3188)

Task/Issue URL:
https://app.asana.com/0/1203936086921904/1207934463147478/f

**Description**:
In case no App Store subscription objects are available we should return a proper SubscriptionOptions.empty object.
  • Loading branch information
miasma13 authored Aug 5, 2024
1 parent 423ba9c commit 11839fd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ final class SubscriptionPagesUseSubscriptionFeature: Subfeature, ObservableObjec
} else {
os_log("Failed to obtain subscription options", log: .subscription, type: .error)
setTransactionError(.failedToGetSubscriptionOptions)
return nil
return SubscriptionOptions.empty
}
}

Expand Down

0 comments on commit 11839fd

Please sign in to comment.