Skip to content

Commit

Permalink
fixing issue where social user saving fails
Browse files Browse the repository at this point in the history
  • Loading branch information
zackAJ authored Oct 2, 2024
1 parent ae99803 commit 9888831
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Models/SocialProviderUser.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class SocialProviderUser extends Model
protected $table = 'social_provider_user';

// Prevents the "returning id" default behaviour
protected $primaryKey = ['user_id', 'provider_slug'];
protected $primaryKey = 'user_id';

// Prevents the auto-increment default behaviour
public $incrementing = false;
Expand Down

0 comments on commit 9888831

Please sign in to comment.