Refactor queries to use non-null assert

This commit is contained in:
viown
2025-02-25 17:18:50 +03:00
parent 3df39d659c
commit 2ce9e9f1e0
28 changed files with 47 additions and 127 deletions
+1 -1
View File
@@ -142,7 +142,7 @@ class AppRouter {
const userId = apiClient.getCurrentUserId();
queryClient
.fetchQuery(getItemQuery(api, userId, item))
.fetchQuery(getItemQuery(api, item, userId))
.then(itemObject => {
this.showItem(itemObject, options);
})