Skip to content

Commit

Permalink
changed the if condition for checking freemium flag (#280)
Browse files Browse the repository at this point in the history
Co-authored-by: Luke Walsh <[email protected]>
  • Loading branch information
alamriku and Kyon147 authored Sep 24, 2024
1 parent e4a5ffe commit c9eb7df
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Messaging/Jobs/AppUninstalledJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,7 @@ public function handle(
$shopCommand->clean($shopId);

// Check freemium mode
$freemium = Util::getShopifyConfig('billing_freemium_enabled');
if ($freemium === true) {
if (Util::getShopifyConfig('billing_freemium_enabled') === true) {
// Add the freemium flag to the shop
$shopCommand->setAsFreemium($shopId);
}
Expand Down

0 comments on commit c9eb7df

Please sign in to comment.