refactor(services): add file_lifecycle and blob_lifecycle
- complete src/application/ports/blob_lifecycle.rs with traits:
* BlobCreationHook
* BlobDeletionHook
- add src/application/ports/file_lifecycle.rs with traits:
* FileCreatedHook
* FileDeletedHook
* FileUpdatedHook
This commit is contained in:
@@ -972,15 +972,6 @@ async fn handle_put(
|
||||
);
|
||||
}
|
||||
|
||||
state
|
||||
.core
|
||||
.refresh_thumbnails_after_update(
|
||||
file_dto.id.clone(),
|
||||
file_dto.etag.clone(),
|
||||
&content_type,
|
||||
)
|
||||
.await;
|
||||
|
||||
Ok(Response::builder()
|
||||
.status(StatusCode::NO_CONTENT)
|
||||
.body(Body::empty())
|
||||
|
||||
Reference in New Issue
Block a user