Add option to toggle logging of request/response for http functions, this has been added to due storage capacity concerns

This commit is contained in:
Peter Stockings
2023-12-21 14:45:25 +11:00
parent 7c7dbae05a
commit 19cebc0f45
6 changed files with 78 additions and 19 deletions

View File

@@ -6,7 +6,9 @@ def create_http_function_view_model(http_function):
"script_content": http_function['script_content'],
"invoked_count": http_function['invoked_count'],
"environment_info": http_function['environment_info'],
"is_public": http_function['is_public']
"is_public": http_function['is_public'],
"log_request": http_function['log_request'],
"log_response": http_function['log_response'],
}
return function_view_model