deactivate bookcases

This commit is contained in:
HolgerHatGarKeineNode
2023-02-16 21:21:45 +01:00
parent ab56630227
commit d90af476bc
7 changed files with 16 additions and 8 deletions

View File

@@ -32,7 +32,7 @@ class SyncOpenBooks extends Command
try {
foreach ($response->json()['cases'] as $case) {
BookCase::withoutGlobalScopes()->updateOrCreate(
BookCase::updateOrCreate(
[
'id' => $case['id'],
],