fix(web): use id instead of assetId (#2643)

This commit is contained in:
Michel Heusschen
2023-06-02 15:50:35 +02:00
committed by GitHub
parent a9fb1d435a
commit 47673dd773
2 changed files with 13 additions and 12 deletions

View File

@@ -57,7 +57,7 @@ function createAssetInteractionStore() {
};
const setViewingAssetId = async (id: string) => {
const { data } = await api.assetApi.getAssetById({ assetId: id });
const { data } = await api.assetApi.getAssetById({ id });
viewingAssetStoreState.set(data);
isViewingAssetStoreState.set(true);
};