don't require authorization for aws-sns endpoint
This commit is contained in:
parent
b9e8747808
commit
a3051d7c33
2 changed files with 1 additions and 4 deletions
|
|
@ -109,9 +109,7 @@ async def pagerduty_hook(
|
|||
|
||||
@app.post("/hook/aws-sns/{routing_key}")
|
||||
async def aws_sns_hook(
|
||||
request: Request,
|
||||
matrix_client: MatrixClient = Depends(get_matrix_service),
|
||||
auth: bool = Depends(authorize),
|
||||
request: Request, matrix_client: MatrixClient = Depends(get_matrix_service)
|
||||
) -> Dict[str, str]:
|
||||
room_id, payload = await receive_helper(request)
|
||||
msg_plain, msg_formatted = aws.parse_sns_event(payload)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue