Skip to content

Commit

Permalink
refactor: remove missed log.warning from organisations endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Jan 23, 2024
1 parent 8d4f4d0 commit 931f8e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/app/organisations/organisation_crud.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
async def get_organisations(db: Session, current_user: AuthUser, is_approved: bool):
"""Get all orgs."""
super_admin = await check_super_admin(db, current_user)
log.warning(super_admin)

if super_admin:
return db.query(db_models.DbOrganisation).filter_by(approved=is_approved).all()

Expand Down

0 comments on commit 931f8e9

Please sign in to comment.