Skip to content
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

Fix roles type in User constructor #19

Merged
merged 2 commits into from
Jan 16, 2024
Merged

Fix roles type in User constructor #19

merged 2 commits into from
Jan 16, 2024

Conversation

hakimio
Copy link
Contributor

@hakimio hakimio commented Jan 15, 2024

No description provided.

@daogrady
Copy link
Contributor

Hi Tomas,

thank you for handing in this fix! I see that there are examples of this usage in CAPire. @johannes-vogel could you please confirm that this is valid?

Best,
Daniel

@johannes-vogel
Copy link
Contributor

johannes-vogel commented Jan 15, 2024

Yes, it's allowed and also part of docs for custom authentication: https://cap.cloud.sap/docs/node.js/authentication#custom

@hakimio Thanks for the fix :)

@daogrady daogrady enabled auto-merge (squash) January 15, 2024 13:57
@daogrady daogrady self-requested a review January 16, 2024 06:11
@daogrady daogrady merged commit acd8e16 into cap-js:main Jan 16, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants