mirror of
https://github.com/KevinMidboe/immich.git
synced 2025-10-29 17:40:28 +00:00
refactor(server): use UUID dto in asset controller (#2641)
* refactor: assetId => id * chore: open api * chore: remove unused dto * fix(web): assetId => id * fix: web test
This commit is contained in:
@@ -87,7 +87,7 @@ describe('AlbumCard component', () => {
|
||||
expect(apiMock.assetApi.getAssetThumbnail).toHaveBeenCalledTimes(1);
|
||||
expect(apiMock.assetApi.getAssetThumbnail).toHaveBeenCalledWith(
|
||||
{
|
||||
assetId: 'thumbnailIdOne',
|
||||
id: 'thumbnailIdOne',
|
||||
format: ThumbnailFormat.Jpeg
|
||||
},
|
||||
{ responseType: 'blob' }
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
|
||||
const { data } = await api.assetApi.getAssetThumbnail(
|
||||
{
|
||||
assetId: thubmnailId,
|
||||
id: thubmnailId,
|
||||
format: ThumbnailFormat.Jpeg
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user