fix: bad merge (#23610)

This commit is contained in:
Jason Rasmussen
2025-11-04 16:22:45 -05:00
committed by GitHub
parent 29c14a3f58
commit aa69d89b9f
4 changed files with 6 additions and 6 deletions

View File

@@ -96,7 +96,7 @@ where
-- TagRepository.upsertAssetIds
insert into
"tag_asset" ("assetId", "tagsIds")
"tag_asset" ("assetId", "tagIds")
values
($1, $2)
on conflict do nothing

View File

@@ -128,7 +128,7 @@ export class TagRepository {
await this.db.deleteFrom('tag_asset').where('tagId', '=', tagId).where('assetId', 'in', assetIds).execute();
}
@GenerateSql({ params: [[{ assetId: DummyValue.UUID, tagsIds: [DummyValue.UUID] }]] })
@GenerateSql({ params: [[{ assetId: DummyValue.UUID, tagIds: DummyValue.UUID }]] })
@Chunked()
upsertAssetIds(items: Insertable<TagAssetTable>[]) {
if (items.length === 0) {