refactor(web): album service (#23762)

This commit is contained in:
Jason Rasmussen
2025-11-10 11:06:40 -05:00
committed by GitHub
parent ce0172b8c1
commit 7705c84b04
5 changed files with 16 additions and 20 deletions

View File

@@ -30,7 +30,6 @@ import {
untagAssets,
updateAsset,
updateAssets,
type AlbumResponseDto,
type AssetResponseDto,
type AssetTypeEnum,
type DownloadInfoDto,
@@ -156,12 +155,6 @@ export const removeTag = async ({
return assetIds;
};
export const downloadAlbum = async (album: AlbumResponseDto) => {
await downloadArchive(`${album.albumName}.zip`, {
albumId: album.id,
});
};
export const downloadBlob = (data: Blob, filename: string) => {
const url = URL.createObjectURL(data);