Skip to content

Commit

Permalink
Merge pull request #1485 from RodriSanchez1/fix/AndroidSubscription
Browse files Browse the repository at this point in the history
Subscription small fix
  • Loading branch information
RodriSanchez1 authored May 15, 2023
2 parents 69fface + d2a28e7 commit 20ccd1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Settings/Subscribe/Subscribe.container.js
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ export class SubscribeContainer extends PureComponent {
} catch (err) {
if (err.response?.data.error === 'subscriber not found') {
// check if current subscriber already bought in this device
if (localReceipts) {
if (localReceipts.length) {
this.handleError({
code: '0001',
message: intl.formatMessage(messages.googleAccountAlreadyOwns)
Expand Down

0 comments on commit 20ccd1f

Please sign in to comment.