fixes
This commit is contained in:
parent
1925088989
commit
b1952edb84
@ -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],
|
||||
},
|
||||
|
@ -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.";
|
||||
}
|
||||
}
|
||||
|
||||
|
6
package-lock.json
generated
6
package-lock.json
generated
@ -3172,9 +3172,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/caniuse-lite": {
|
||||
"version": "1.0.30001655",
|
||||
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001655.tgz",
|
||||
"integrity": "sha512-jRGVy3iSGO5Uutn2owlb5gR6qsGngTw9ZTb4ali9f3glshcNmJ2noam4Mo9zia5P9Dk3jNNydy7vQjuE5dQmfg==",
|
||||
"version": "1.0.30001702",
|
||||
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001702.tgz",
|
||||
"integrity": "sha512-LoPe/D7zioC0REI5W73PeR1e1MLCipRGq/VkovJnd6Df+QVqT+vT33OXCp8QUd7kA7RZrHWxb1B36OQKI/0gOA==",
|
||||
"funding": [
|
||||
{
|
||||
"type": "opencollective",
|
||||
|
Loading…
x
Reference in New Issue
Block a user