Adding TODO
This commit is contained in:
@@ -150,6 +150,9 @@ async def proxy_request(
|
|||||||
|
|
||||||
if path.endswith("api/offer"):
|
if path.endswith("api/offer"):
|
||||||
try:
|
try:
|
||||||
|
# TODO add support for the PATCH method
|
||||||
|
# Add a variable to the payload as well to say if it is a new session of not
|
||||||
|
# and the OPERATION: if it is POST or PATCH, so we can validate it inside the agent.
|
||||||
if request.method == HTTPMethod.POST.value:
|
if request.method == HTTPMethod.POST.value:
|
||||||
return await post_offer(request, session_id)
|
return await post_offer(request, session_id)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
|||||||
Reference in New Issue
Block a user