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 = [
|
||||
'is_archived' => true,
|
||||
'archived_at' => now(),
|
||||
'updated_at' => now(),
|
||||
];
|
||||
DB::table('studies')->where('id', $study_id)->update($payload);
|
||||
@ -30,7 +30,7 @@ public function __invoke(StudiesSync $sync, Closure $next): StudiesSync
|
||||
->category(Category::SYSTEM)
|
||||
->on($study_id)
|
||||
->orthanc($orthanc_uuid)
|
||||
->did(Activity::Study_Archived)
|
||||
->did(Activity::Study_Archive)
|
||||
->log(false);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user