FIX / UPDATE changes
This commit is contained in:
parent
44acb63d3a
commit
9c6dddb7a0
@ -20,7 +20,7 @@ public function __invoke(StudiesSync $sync, Closure $next): StudiesSync
|
|||||||
}
|
}
|
||||||
|
|
||||||
$payload = [
|
$payload = [
|
||||||
'is_archived' => true,
|
'archived_at' => now(),
|
||||||
'updated_at' => now(),
|
'updated_at' => now(),
|
||||||
];
|
];
|
||||||
DB::table('studies')->where('id', $study_id)->update($payload);
|
DB::table('studies')->where('id', $study_id)->update($payload);
|
||||||
@ -30,7 +30,7 @@ public function __invoke(StudiesSync $sync, Closure $next): StudiesSync
|
|||||||
->category(Category::SYSTEM)
|
->category(Category::SYSTEM)
|
||||||
->on($study_id)
|
->on($study_id)
|
||||||
->orthanc($orthanc_uuid)
|
->orthanc($orthanc_uuid)
|
||||||
->did(Activity::Study_Archived)
|
->did(Activity::Study_Archive)
|
||||||
->log(false);
|
->log(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user