We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 00909ce commit 7276e65Copy full SHA for 7276e65
1 file changed
Client/src/store/document.store.ts
@@ -52,7 +52,7 @@ export const useDocumentStore = create<DocumentStore>((set) => ({
52
fetchAll: async (workspaceId) => {
53
set({ isLoading: true, error: null });
54
try {
55
- const docs = await documentApi.fetchALL(workspaceId);
+ const docs = await documentApi.fetchAll(workspaceId);
56
set({ list: docs, isLoading: false });
57
} catch (err) {
58
set({ error: extractError(err), isLoading: false });
0 commit comments