We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f56a2a commit 712d7b6Copy full SHA for 712d7b6
routers/organization.py
@@ -232,10 +232,6 @@ def invite_member(
232
233
if not organization:
234
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]
239
240
# Find the account and associated user by email
241
account = session.exec(
@@ -250,7 +246,6 @@ def invite_member(
250
246
raise UserNotFoundError()
251
247
252
248
invited_user = account.user
253
- user_identity = session.identity_key(instance=invited_user)
254
249
255
# Check if user is already a member of this organization
256
is_already_member = False
0 commit comments