mirror of
https://github.com/anna-sara/vbytes_lan.git
synced 2026-03-16 16:25:41 +01:00
Fix with participant endpoint
This commit is contained in:
parent
f99549ede4
commit
222c3b7c75
1 changed files with 2 additions and 2 deletions
|
|
@ -112,11 +112,11 @@ class ParticipantController extends Controller
|
|||
$count = Participant::where('is_visiting', 0)->count();
|
||||
$status = "";
|
||||
|
||||
if ($count < config('app.lanplace_amount') && $request->is_visiting === 0) {
|
||||
if ($count < config('app.lanplace_amount') && ! $request->is_visiting) {
|
||||
$status = "lan";
|
||||
}
|
||||
|
||||
else if ($request->is_visiting === 1) {
|
||||
else if (! $request->is_visiting) {
|
||||
$status = "besök";
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue