-
Notifications
You must be signed in to change notification settings - Fork 346
Node SDK: createUser
function missing createdAt
property
#2281
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
prioritized
This issue has been triaged and the team is working on it
Comments
dimkl
added a commit
that referenced
this issue
Dec 7, 2023
24 tasks
dimkl
added a commit
that referenced
this issue
Dec 7, 2023
Hello @mboudreau |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Preliminary Checks
I have reviewed the documentation: https://clerk.com/docs
I have searched for existing issues: https://github.com/clerk/javascript/issues
I have not already reached out to Clerk support via email or Discord (if you have, no need to open an issue here)
This issue is not a question, general help request, or anything other than a bug report directly related to Clerk. Please ask questions in our Discord community: https://clerk.com/discord.
Reproduction / Replay Link
https://github.com/clerk/javascript/blob/main/packages/backend/src/api/endpoints/UserApi.ts#L59
Publishable key
not needed
Description
Steps to reproduce:
@clerk/[email protected]
createUser
function to create a user with acreatedAt
dateupdateUser
function,createdAt
date works.Expected behavior:
The API allows for a
created_at
option to be specified for new users, but the backend SDK does not allow this property on thecreateUser
function because of the lack of this property signature. It's not a problem with theupdateUser
function however.Actual behavior:
Typescript failure on adding
createdAt
property tocreateUser
function.Environment
The text was updated successfully, but these errors were encountered: