Add option to make http functions private (Require authentication, currently just redirects to login page; Should look into cookie + JWT + api key)

This commit is contained in:
Peter Stockings
2023-12-21 14:03:25 +11:00
parent 14e4672be6
commit 7c7dbae05a
6 changed files with 64 additions and 15 deletions

View File

@@ -5,7 +5,8 @@ def create_http_function_view_model(http_function):
"name": http_function['name'],
"script_content": http_function['script_content'],
"invoked_count": http_function['invoked_count'],
"environment_info": http_function['environment_info']
"environment_info": http_function['environment_info'],
"is_public": http_function['is_public']
}
return function_view_model