mirror of
https://github.com/immich-app/immich.git
synced 2025-11-29 08:30:03 +09:00
feat(server): improve API specification (#1853)
This commit is contained in:
@@ -26,10 +26,7 @@
|
||||
|
||||
const loadAssetData = async () => {
|
||||
try {
|
||||
const { data } = await api.assetApi.serveFile(asset.id, false, true, {
|
||||
params: {
|
||||
key: publicSharedKey
|
||||
},
|
||||
const { data } = await api.assetApi.serveFile(asset.id, false, true, publicSharedKey, {
|
||||
responseType: 'blob'
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user