-
Notifications
You must be signed in to change notification settings - Fork 3
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: can't read undefined of organization while creating new organization #359
base: develop
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #359 +/- ##
==========================================
Coverage ? 17.31%
==========================================
Files ? 86
Lines ? 3159
Branches ? 913
==========================================
Hits ? 547
Misses ? 2602
Partials ? 10 ☔ View full report in Codecov by Sentry. |
98f11c5
to
cd58f37
Compare
@@ -450,8 +457,10 @@ const resolvers = { | |||
|
|||
if (role !== RoleOfUser.SUPER_ADMIN) { | |||
const org = await checkLoggedInOrganization(orgToken) | |||
|
|||
if (cohortOrg.id.toString() !== org.id.toString()) { | |||
console.log('>>>>>>>>>>>>>') |
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.
@elijahladdie remove these console.logs
@@ -46,7 +46,10 @@ export const context = async ({ req }: { req: Request }): Promise<Context> => { | |||
if ( |
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.
@elijahladdie , also look into this
fix: can't read undefined of organization while creating new organization
PR Description
Please include a brief description of the pull request you want to raise.
Description of tasks that were expected to be completed
Functionality
How has this been tested?
i created new team to make sure that before I select new
PR Checklist: