fix(server): Execute query in AlbumRepository.removeAsset method (#6216)

The current `removeAsset` implementation just builds the query but does
not execute it. That also seems to be the reason the `@GenerateSql`
decorator was commented out.
This commit is contained in:
Michael Manganiello
2024-01-06 12:56:08 -05:00
committed by GitHub
parent a233e176e5
commit 8921278447
2 changed files with 8 additions and 2 deletions

View File

@@ -508,6 +508,11 @@ FROM
WHERE
"AlbumEntity"."deletedAt" IS NULL
-- AlbumRepository.removeAsset
DELETE FROM "albums_assets_assets"
WHERE
"albums_assets_assets"."assetsId" = $1
-- AlbumRepository.removeAssets
DELETE FROM "albums_assets_assets"
WHERE