mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-15 20:30:33 +00:00
fix: pdf template customization
This commit is contained in:
@@ -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: () => {
|
||||
|
||||
Reference in New Issue
Block a user