ソースを参照

get staff with null api_token

hajar
コミット
adf90535ef
1個のファイルの変更1行の追加1行の削除
  1. 1
    1
      app/Http/Controllers/Controller.php

+ 1
- 1
app/Http/Controllers/Controller.php ファイルの表示

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

読み込み中…
キャンセル
保存