feat: add XMP writer plugin and enhance media upload configuration
This commit is contained in:
@@ -226,7 +226,7 @@ impl MediaService for MediaServiceImpl {
|
||||
.update_storage_used(user.id, -file_size)
|
||||
.await?;
|
||||
|
||||
let job_payload = json!({ "media_id": id });
|
||||
let job_payload = json!({ "storage_path": media.storage_path });
|
||||
self.nats_client
|
||||
.publish("media.deleted".to_string(), job_payload.to_string().into())
|
||||
.await
|
||||
|
||||
Reference in New Issue
Block a user