Skip to content

Commit 7276e65

Browse files
committed
fix: type in name of function
1 parent 00909ce commit 7276e65

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Client/src/store/document.store.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export const useDocumentStore = create<DocumentStore>((set) => ({
5252
fetchAll: async (workspaceId) => {
5353
set({ isLoading: true, error: null });
5454
try {
55-
const docs = await documentApi.fetchALL(workspaceId);
55+
const docs = await documentApi.fetchAll(workspaceId);
5656
set({ list: docs, isLoading: false });
5757
} catch (err) {
5858
set({ error: extractError(err), isLoading: false });

0 commit comments

Comments
 (0)