-
-
Notifications
You must be signed in to change notification settings - Fork 105
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
API: Include default workspace of user in getSelf
function
#365
Comments
/attempt |
Assigned the issue to @anjali2004arya! |
@anjali2004arya any progress on this? |
Removed assignment because of inactivity. Please feel free to pick it up in case you want to. |
@rajdip-b can you please clarify how to find which workspace is the default workspace of a user? In case user is added to just one workspace we can return that, but in case user is part of multiple workspaces, how do we decide which one is the default one? |
Hi! By default, when a user is created, a default workspace gets created for them. Every workspace has a |
Oh ok, got it thanks!! |
/attempt |
Assigned the issue to @unamdev0! |
🎉 This issue has been resolved in version 2.5.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Description
When we call
GET /api/user/
, we are responded with the details of the user. We would also like to include the details of the default workspace of the user.Solution
The update would be scoped to this block:
keyshade/apps/api/src/user/service/user.service.ts
Lines 34 to 36 in 581629d
defaultWorkspace
and include the details in there.user.e2e.spec.ts
The text was updated successfully, but these errors were encountered: