Rename account_provider
This commit is contained in:
@@ -89,8 +89,8 @@ class Account extends Model implements IDs
|
||||
|
||||
public function providers()
|
||||
{
|
||||
return $this->belongsToMany(ProviderOauth::class,'account_provider')
|
||||
->where('account_provider.site_id',$this->site_id)
|
||||
return $this->belongsToMany(ProviderOauth::class,'account__provider')
|
||||
->where('account__provider.site_id',$this->site_id)
|
||||
->withPivot('ref','synctoken','created_at','updated_at');
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user