-
Notifications
You must be signed in to change notification settings - Fork 8
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
feat: Add accounts endpoints #43
feat: Add accounts endpoints #43
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm...lgtm
headers: HapiUtil.Dictionary<string>, | ||
userId: string, | ||
error: APIErrorObject, | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
instead of any use unknown
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we change span type to unknown, lint complains at span?.getChild, then also need to typecast it to any
Related to #1999
GET /accounts/{id}
PUT /accounts/{id}
PUT /accounts/{id}/error
endpoints