mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix scopeIsArchived query (#12756)
Method Illuminate\Database\Eloquent\Builder<App\Models\Notification>::limit() invoked with 0 parameters, 1 required.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user