251211:1622 Frontend: refactor Dashboard (not finish)
Some checks failed
Spec Validation / validate-markdown (push) Has been cancelled
Spec Validation / validate-diagrams (push) Has been cancelled
Spec Validation / check-todos (push) Has been cancelled

This commit is contained in:
admin
2025-12-11 16:22:50 +07:00
parent 3fa28bd14f
commit 2473c4c474
32 changed files with 1115 additions and 260 deletions

View File

@@ -17,7 +17,7 @@ export const correspondenceService = {
getById: async (id: string | number) => {
const response = await apiClient.get(`/correspondences/${id}`);
return response.data;
return response.data.data; // Unwrap NestJS Interceptor 'data' wrapper
},
create: async (data: CreateCorrespondenceDto) => {
@@ -71,4 +71,4 @@ export const correspondenceService = {
});
return response.data;
}
};
};