Update intercept.lua (#6788)

This commit is contained in:
Luis Daniel Lucio Quiroz
2023-08-26 12:12:52 -04:00
committed by GitHub
parent 88169f9e30
commit 97835fdd6a

View File

@@ -287,7 +287,7 @@
end
sql = sql .. ") ";
sql = sql .. "AND call_uuid IS NOT NULL ";
sql = sql .. "LIMIT 1 ";
sql = sql .. "ORDER BY created_epoch DESC LIMIT 1 ";
if (debug["sql"]) then
log.noticef("SQL: %s; params: %s", sql, json.encode(params));
end