We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 828fa84 commit 9287875Copy full SHA for 9287875
src/routes/(v2)/v2/issue-358/+page.server.ts
@@ -20,6 +20,8 @@ export const actions = {
20
21
// Forgot to update email
22
db.name = form.data.name;
23
+ // @ts-expect-error Hack to prevent updating the missing schema field, it will be updated by the load function.
24
+ delete form.data.email;
25
26
return message(form, 'Form posted successfully!');
27
}
0 commit comments