Add versions for http_functions, whenever script is updated a new version is logged.

This commit is contained in:
Peter Stockings
2024-04-06 19:49:46 +11:00
parent 4b30deb709
commit b4c67d8346
7 changed files with 37 additions and 24 deletions

View File

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