We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e4205f commit f24140dCopy full SHA for f24140d
core/app/c/[communitySlug]/forms/[formSlug]/edit/actions.ts
@@ -16,7 +16,7 @@ export const updateForm = defineServerAction(async function updateForm({
16
formId: FormsId;
17
name: string;
18
}) {
19
- const user = await getLoginData();
+ const { user } = await getLoginData();
20
21
if (!user) {
22
return {
core/app/c/[communitySlug]/forms/actions.ts
@@ -19,7 +19,7 @@ export const createForm = defineServerAction(async function createForm(
slug: string,
communityId: CommunitiesId
) {
23
24
25
0 commit comments