mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
deactivate bookcases
This commit is contained in:
@@ -32,7 +32,7 @@ class SyncOpenBooks extends Command
|
||||
try {
|
||||
|
||||
foreach ($response->json()['cases'] as $case) {
|
||||
BookCase::withoutGlobalScopes()->updateOrCreate(
|
||||
BookCase::updateOrCreate(
|
||||
[
|
||||
'id' => $case['id'],
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user