Skip to content

Commit

Permalink
fix(mymdc): add proposal id extraction from experiment section
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertRosca committed Oct 2, 2024
1 parent 7e16b3b commit c459dbf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/zulip_write_only_proxy/routers/mymdc.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ async def check_and_proxy_request(

res_proposal_id = (
content.get("proposal_id")
or content.get("experiment", {}).get("proposal_id")
or content.get("proposal", {}).get("id")
or content.get("id")
)
Expand Down

0 comments on commit c459dbf

Please sign in to comment.