Ensure you can only view/edit http functions created by the currently logged in user
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
def create_http_function_view_model(http_function):
|
||||
function_view_model = {
|
||||
"id": http_function['id'],
|
||||
"user_id": http_function['user_id'],
|
||||
"name": http_function['name'],
|
||||
"script_content": http_function['script_content'],
|
||||
"invoked_count": http_function['invoked_count'],
|
||||
|
||||
Reference in New Issue
Block a user