Skip to content

Commit

Permalink
Fix user creation always throwing an error
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanmitchell committed Nov 10, 2023
1 parent 739a67a commit c3553c4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Jobs/CreateOrUpdateShopifyUser.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ private function createOrAssociateUser()
if (count($data)) {
$this->user->set('shopify_id', $data[0]['id']);
$this->user->saveQuietly();

return;
}

Expand All @@ -55,6 +56,8 @@ private function createOrAssociateUser()
if ($id) {
$this->user->set('shopify_id', $id);
$this->user->saveQuietly();

return;
}
}

Expand Down

0 comments on commit c3553c4

Please sign in to comment.