Skip to content

Commit

Permalink
fixup! feat: Implement catalog_incident api (#2147)
Browse files Browse the repository at this point in the history
  • Loading branch information
aleixhub committed Sep 18, 2024
1 parent 1e7f118 commit f83ea7e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions catalog/api/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -620,8 +620,10 @@ async def catalog_item_incidents(request):
asset_uuid = request.match_info.get('asset_uuid')
stage = request.match_info.get('stage')
data = await request.json()
headers = request.headers
headers["Authorization"] = f"Bearer {reporting_api_authorization_token}"
headers = {
'Authorization': f"Bearer {reporting_api_authorization_token}"
'Content-Type': 'application/json'
}
return await api_proxy(
headers=headers,
method="POST",
Expand Down

0 comments on commit f83ea7e

Please sign in to comment.