feat: add XMP writer plugin and enhance media upload configuration

This commit is contained in:
2025-11-02 19:22:35 +01:00
parent 13bb9e6b3e
commit 8b98df745c
11 changed files with 217 additions and 31 deletions

View File

@@ -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