Ver código fonte

get staff with null api_token

hajar
Siti Hajar Ibrahim 5 anos atrás
pai
commit
adf90535ef
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1
    1
      app/Http/Controllers/Controller.php

+ 1
- 1
app/Http/Controllers/Controller.php Ver arquivo

@@ -120,7 +120,7 @@ class Controller extends BaseController

public function getDatabase(Request $request)
{
$staff = Staff::where('api_token', '')->where('roles_access', 'Installer')->get();
$staff = Staff::where('api_token', null)->where('roles_access', 'Installer')->get();
return $staff;
}

Carregando…
Cancelar
Salvar