Only show invocation logs for http function selected
This commit is contained in:
2
db.py
2
db.py
@@ -81,6 +81,6 @@ class DataBase():
|
|||||||
http_function_invocations = self.execute(
|
http_function_invocations = self.execute(
|
||||||
"""SELECT id, http_function_id, STATUS, invocation_time, request_data, response_data, LOGS
|
"""SELECT id, http_function_id, STATUS, invocation_time, request_data, response_data, LOGS
|
||||||
FROM http_function_invocations
|
FROM http_function_invocations
|
||||||
WHERE http_function_id=9
|
WHERE http_function_id=%s
|
||||||
ORDER BY invocation_time DESC""", [http_function_id])
|
ORDER BY invocation_time DESC""", [http_function_id])
|
||||||
return http_function_invocations
|
return http_function_invocations
|
||||||
Reference in New Issue
Block a user