Skip to content

Commit

Permalink
Fix lint issue on single-quote
Browse files Browse the repository at this point in the history
  • Loading branch information
graduta committed Oct 24, 2024
1 parent ae9e7b2 commit 6aa3403
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion InfoLogger/lib/services/QueryService.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ class QueryService {
async queryGroupCountLogsBySeverity(runNumber) {
const groupByStatement =
'SELECT severity, COUNT(*) FROM messages WHERE run=? and severity '
+ `in ('D', 'I', 'W', 'E', 'F') GROUP BY severity;`;
+ 'in (\'D\', \'I\', \'W\', \'E\', \'F\') GROUP BY severity;';
let data = [];
try {
data = await this._pool.query({
Expand Down

0 comments on commit 6aa3403

Please sign in to comment.