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:
Jason Rasmussen
2023-06-01 22:19:25 -04:00
committed by GitHub
parent 422ad20641
commit a9fb1d435a
16 changed files with 184 additions and 196 deletions

View File

@@ -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' }

View File

@@ -37,7 +37,7 @@
const { data } = await api.assetApi.getAssetThumbnail(
{
assetId: thubmnailId,
id: thubmnailId,
format: ThumbnailFormat.Jpeg
},
{