This commit is contained in:
2025-03-04 17:59:19 +01:00
parent 08f3e08e04
commit c8a8f790b6
3 changed files with 7 additions and 7 deletions

View File

@ -15,7 +15,7 @@ export async function signupFormSubmit(data: z.infer<typeof signupFormSchema>):
email: data.email,
name: data.name,
status: "enabled",
lists: [6],
lists: [3],
attribs: {
dob: data.dob.toISOString().split("T")[0],
},

View File

@ -26,11 +26,11 @@ async function listmonk(data: listmonkData): Promise<string> {
try {
const response = await fetch(`${listmonkUrl}subscribers`, options);
if (!response.ok) {
return "Error. please try again soon.";
return "Error. Please try again soon.";
}
return "Thanks for signing up!";
return "Thanks for signing up! Please check your email for a confirmation.";
} catch (error) {
return "Error. please try again soon.";
return "Error. Please contact us.";
}
}