Explorar el Código

get staff with null api_token

hajar
Siti Hajar Ibrahim hace 5 años
padre
commit
adf90535ef
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      app/Http/Controllers/Controller.php

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

@@ -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;
}

Cargando…
Cancelar
Guardar