From 2307119ad7b9654b20246792a919c4d6cf60d6c2 Mon Sep 17 00:00:00 2001 From: Bradley Bickford Date: Sun, 19 Nov 2023 19:20:32 -0500 Subject: [PATCH] More random prints --- utilities/sqlutil.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utilities/sqlutil.js b/utilities/sqlutil.js index 2b2672f..c15f003 100644 --- a/utilities/sqlutil.js +++ b/utilities/sqlutil.js @@ -163,6 +163,8 @@ async function inCall(server_snowflake, channel_snowflake) { async function registerNewCall(server_snowflake, channel_snowflake, call_start_time) { return connection_pool.query("INSERT INTO call_states (server_snowflake, channel_snowflake, call_start_time, call_end_time, call_consolidated, call_transcribed, call_data_cleaned_up) VALUES (?, ?, ?, NULL, 0, 0, 0)", [server_snowflake, channel_snowflake, call_start_time]).then(async ([rows, fields]) => { + print(rows) + print(fields) if (rows.length == 0) { return -1; } else {