Join Slack
Powered by
is there a way to set `completedOnboarding` to tru...
# api
b
Ben Weiner
04/19/2023, 9:50 PM
is there a way to set
completedOnboarding
to true for users created via the api?
a
abdurrahman RAJAB
04/23/2023, 10:25 PM
I tried to find something in the code related to the API but could not, yet I found this snippet:
https://github.com/calcom/cal.com/blob/main/apps/web/playwright/onboarding.e2e.ts#L13
Since it's possible in the testing, I think this could be an option in the API. Is it possible?
abdurrahman RAJAB
04/23/2023, 10:31 PM
The api is using a create ({data}) function
https://github.com/calcom/cal.com/blob/main/packages/features/ee/users/server/trpc-router.ts#L95
abdurrahman RAJAB
04/23/2023, 10:39 PM
Not sure, but the answer should be NO based on the schema:
https://github.com/calcom/cal.com/blob/main/packages/features/ee/users/server/trpc-router.ts#L15
But it could be added on it so that would be possible.
35
Views
Open in Slack
Previous
Next