mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-12 08:29:15 +00:00
improving UX for the onboarding experience
This commit is contained in:
@@ -19,7 +19,8 @@ export const getOrganizations = async (req: Request, res: Response) => {
|
||||
try {
|
||||
organizations = (
|
||||
await MembershipOrg.find({
|
||||
user: req.user._id
|
||||
user: req.user._id,
|
||||
status: ACCEPTED
|
||||
}).populate('organization')
|
||||
).map((m) => m.organization);
|
||||
} catch (err) {
|
||||
|
||||
Reference in New Issue
Block a user