fix: pdf template customization

This commit is contained in:
Ahmed Bouhuolia
2024-09-17 18:19:28 +02:00
parent bb0d91a9cb
commit 5f40d50852
16 changed files with 74 additions and 41 deletions

View File

@@ -98,7 +98,7 @@ export const useEditPdfTemplate = (
>(
({ templateId, values }) =>
apiRequest
.put(`/pdf-templates/${templateId}`, transfromToSnakeCase(values))
.post(`/pdf-templates/${templateId}`, transfromToSnakeCase(values))
.then((res) => res.data),
{
onSuccess: () => {