Skip to content

Commit 712d7b6

Browse files
Remove debug log
1 parent 3f56a2a commit 712d7b6

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

routers/organization.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -232,10 +232,6 @@ def invite_member(
232232

233233
if not organization:
234234
raise OrganizationNotFoundError()
235-
236-
# Log organization and roles state
237-
org_identity = session.identity_key(instance=organization)
238-
role_info = [(r.id, r.name, session.identity_key(instance=r)) for r in organization.roles]
239235

240236
# Find the account and associated user by email
241237
account = session.exec(
@@ -250,7 +246,6 @@ def invite_member(
250246
raise UserNotFoundError()
251247

252248
invited_user = account.user
253-
user_identity = session.identity_key(instance=invited_user)
254249

255250
# Check if user is already a member of this organization
256251
is_already_member = False

0 commit comments

Comments
 (0)