Browse Source

get data from database

hajar
Siti Hajar Ibrahim 4 years ago
parent
commit
9af2a8e6ae
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      app/Http/Controllers/Controller.php

+ 1
- 1
app/Http/Controllers/Controller.php View File

@@ -148,7 +148,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;
}

Loading…
Cancel
Save