| @@ -147,8 +147,8 @@ class Controller extends BaseController | |||
| public function getDatabase(Request $request) | |||
| { | |||
| $staffFirst = Staff::where('_id', '5fb1e3b6a1f29b1e98558c69')->first(); | |||
| $staff = Staff::where('api_token', $staffFirst->api_token ); | |||
| $staffFirst = Staff::where('email', 'yakikaze93@gmail.com')->first(); | |||
| $staff = Staff::where('api_token', $staffFirst->api_token )->get(); | |||
| return $staff; | |||
| } | |||