Fix scopeIsArchived query (#12756)

Method Illuminate\Database\Eloquent\Builder<App\Models\Notification>::limit() invoked with 0 parameters, 1 required.
This commit is contained in:
Jellyfrog
2021-04-17 17:47:28 +02:00
committed by GitHub
parent 62c5759bd1
commit 2ce294618f

View File

@@ -112,7 +112,7 @@ class Notification extends Model
->source()
->where('notifications_attribs.user_id', $user->user_id)
->where(['key' => 'read', 'value' => 1])
->limit();
->limit(1);
}
/**