Python is not Javascript, print doesn't exist

This commit is contained in:
Bradley Bickford 2023-11-19 19:22:00 -05:00
parent 2307119ad7
commit f7bcbe348b

View File

@ -163,8 +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)
console.log(rows)
console.log(fields)
if (rows.length == 0) {
return -1;
} else {