From 7e2181c7a67c0aae04d58dea323f87753fe1a18f Mon Sep 17 00:00:00 2001 From: Peter Stockings Date: Mon, 18 Dec 2023 21:23:49 +1100 Subject: [PATCH] Only show invocation logs for http function selected --- db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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