mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
unused helper
This commit is contained in:
parent
3b5fbe7a89
commit
7bf2cd104e
1 changed files with 0 additions and 6 deletions
|
|
@ -244,12 +244,6 @@ export class MediumTestContext<S extends BaseService = BaseService> {
|
|||
};
|
||||
}
|
||||
|
||||
async newTag(dto: Partial<Insertable<TagTable>>) {
|
||||
const tag = mediumFactory.tagInsert(dto);
|
||||
const result = await this.get(TagRepository).create(tag);
|
||||
return { tag, result };
|
||||
}
|
||||
|
||||
async newTagAsset(tagBulkAssets: { tagIds: string[]; assetIds: string[] }) {
|
||||
const tagsAssets: Insertable<TagAssetTable>[] = [];
|
||||
for (const tagsId of tagBulkAssets.tagIds) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue