Skip to content

Commit

Permalink
fix: remove duplicate client end statement
Browse files Browse the repository at this point in the history
  • Loading branch information
NithinKuruba committed Oct 29, 2023
1 parent 52b292d commit 4f6ce37
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion docker/kc-cron-job/active-sessions.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ async function main() {
await client.connect();
if (dataset.length > 0) await client.query(query);
else log('no sessions found');
await client.end();
} catch (err) {
console.log(err);
} finally {
Expand Down

0 comments on commit 4f6ce37

Please sign in to comment.