このコミットが含まれているのは:
テクニカル諏訪子 2018-03-05 20:20:44 +09:00
コミット 58c188eb02
1個のファイルの変更2行の追加2行の削除

ファイルの表示

@ -444,12 +444,12 @@ class StoreController extends Controller {
public function restoreEntry(Request $request) { // /api/rpc/store/entry/restore
return DB::table('str_file')
->where('id', $request->id)
->update(['isApproved', 1]);
->update(['isApproved' => 1]);
}
public function removeEntry(Request $request) { // /api/rpc/store/entry/remove
return DB::table('str_file')
->where('id', $request->id)
->update(['isApproved', 0]);
->update(['isApproved' => 0]);
}
}