Commit 0c18917c by Oleksandr Barabash

additional info added to v1_mars_report

parent e24b9ff1
......@@ -336,7 +336,7 @@ async def v1_mars_report(request: Request) -> Response:
report = MarsReport.load(request_json, unknown=EXCLUDE)
response = await BOT.handle_mars_report(channel_id, report)
Log.d(TAG, f"v1_mars_report::notification: '{response}'")
return make_response(200, "OK")
return make_response(200, "OK", {"info": {"channelId": channel_id}})
except Exception:
Log.e(TAG, "v1_mars_report::error", exc_info=sys.exc_info())
return make_response(500, "Bad Request",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment