Skip to content

Commit

Permalink
Merge branch 'main' into stage
Browse files Browse the repository at this point in the history
  • Loading branch information
MelissaAutumn committed Jan 8, 2024
2 parents 57fdf31 + fbe55d7 commit 5481eb0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion backend/src/appointment/database/repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -636,4 +636,7 @@ def get_subscriber_by_fxa_uid(db: Session, type_id: str):

result = query.first()

return result
if result is not None:
return result.owner

return None
2 changes: 1 addition & 1 deletion backend/src/appointment/routes/webhooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
def fxa_process(
request: Request,
db: Session = Depends(get_db),
decoded_token: dict = Depends(get_webhook_auth),
decoded_token = Depends(get_webhook_auth),
fxa_client: FxaClient = Depends(get_fxa_client)
):
"""Main for webhooks regarding fxa"""
Expand Down

0 comments on commit 5481eb0

Please sign in to comment.