chore: remove unused album repository methods (#12758)

This commit is contained in:
Jason Rasmussen
2024-09-17 17:02:11 -04:00
committed by GitHub
parent 1e6ef5c9e4
commit efe45fd0aa
12 changed files with 1 additions and 251 deletions
@@ -571,13 +571,6 @@ export class AssetRepository implements IAssetRepository {
});
}
getFirstAssetForAlbumId(albumId: string): Promise<AssetEntity | null> {
return this.repository.findOne({
where: { albums: { id: albumId } },
order: { fileCreatedAt: 'DESC' },
});
}
getLastUpdatedAssetForAlbumId(albumId: string): Promise<AssetEntity | null> {
return this.repository.findOne({
where: { albums: { id: albumId } },