diff --git a/db.py b/db.py index defd0c4..be1579a 100644 --- a/db.py +++ b/db.py @@ -81,6 +81,6 @@ class DataBase(): http_function_invocations = self.execute( """SELECT id, http_function_id, STATUS, invocation_time, request_data, response_data, LOGS FROM http_function_invocations -WHERE http_function_id=9 +WHERE http_function_id=%s ORDER BY invocation_time DESC""", [http_function_id]) return http_function_invocations \ No newline at end of file