Fix/duplicate events on onboarding (#716)

This commit is contained in:
Femi Odugbesan authored and GitHub committed 2021-09-22 08:25:33 +01:00
1 parent d4f29464f2
commit a047177e72
6 files changed
+115 -16

No files matched your search

+1 -1
View File
@@ -50,7 +50,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
"theme",
"completedOnboarding",
]),
bio: req.body.description,
bio: req.body.description ?? req.body.data?.bio,
},
select: {
id: true,