mirror of
https://github.com/formbricks/formbricks.git
synced 2025-12-30 10:19:51 -06:00
fix survey fields are saved only in customer
This commit is contained in:
@@ -227,7 +227,6 @@ const WaitlistPage = () => (
|
||||
id: "wauPage",
|
||||
config: {
|
||||
autoSubmit: true,
|
||||
addFieldsToCustomer: ["wau"],
|
||||
},
|
||||
elements: [
|
||||
{
|
||||
|
||||
@@ -68,7 +68,6 @@ export default async function handle(req: NextApiRequest, res: NextApiResponse)
|
||||
},
|
||||
data: { data: customerData },
|
||||
});
|
||||
return res.status(200).json({ message: "Submission updated" });
|
||||
} else {
|
||||
if ("email" in submission.customer) {
|
||||
const customerEmail = submission.customer.email;
|
||||
|
||||
Reference in New Issue
Block a user