mirror of
https://github.com/immich-app/immich.git
synced 2025-11-29 08:30:03 +09: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:
@@ -29,7 +29,7 @@
|
||||
const loadAssetData = async () => {
|
||||
try {
|
||||
const { data } = await api.assetApi.serveFile(
|
||||
{ assetId: asset.id, isThumb: false, isWeb: true, key: publicSharedKey },
|
||||
{ id: asset.id, isThumb: false, isWeb: true, key: publicSharedKey },
|
||||
{
|
||||
responseType: 'blob'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user