We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee5d807 commit 4202264Copy full SHA for 4202264
packages/bygger-backend/src/services/forms/FormsService.ts
@@ -11,7 +11,7 @@ const createFormsService = (formsApiUrl: string): FormsService => {
11
const search = select ? new URLSearchParams({ select }) : '';
12
const url = `${formsUrl}?${search}`;
13
const response = await fetchWithErrorHandling(url, { headers: createHeaders() });
14
- return response.data as Form[];
+ return (response.data as Form[]).map((f) => removeInnsendingFromForm(f));
15
};
16
17
const get = async (formPath: string): Promise<Form> => {
0 commit comments