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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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);
};