Skip to content

Commit

Permalink
fix: make a simpler SQL request
Browse files Browse the repository at this point in the history
  • Loading branch information
achauve committed Sep 25, 2024
1 parent 0ce9a8e commit e9c375e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/backend/src/services/Healthz.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const pool = require("../utils/pgpool").getPool();

const query = {
// simple query to check if the connexion to the db is up
healthz: () => [`SELECT rol_id FROM back.user_roles LIMIT 1;`, []],
healthz: () => [`SELECT NOW();`, []],
};

module.exports.healthz = async () => {
Expand Down

0 comments on commit e9c375e

Please sign in to comment.