Skip to content

Commit 304827c

Browse files
committed
fix $user->exists() to $user->exists
1 parent bf9e55e commit 304827c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Jobs/UpsertUserFromAnystackContact.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function handle(): void
3838

3939
$this->assertUserAttributesAreValid($user);
4040

41-
Log::debug(($user->exists() ? "Updating user [{$user->id}]" : 'Creating user')." from anystack contact [{$this->contactData['id']}].");
41+
Log::debug(($user->exists ? "Updating user [{$user->id}]" : 'Creating user')." from anystack contact [{$this->contactData['id']}].");
4242

4343
$user->anystack_contact_id ??= $this->contactData['id'];
4444
$user->email ??= $this->contactData['email'];

0 commit comments

Comments
 (0)