Skip to content

Commit

Permalink
Hotfix query in updateExpirationDate function
Browse files Browse the repository at this point in the history
  • Loading branch information
rassokhina-e committed Jul 9, 2024
1 parent e755b45 commit efacb9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/model/projects.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ var Projects = {

updateExpirationDate: async function(opts) {
const q = `UPDATE cached_metrics cm
cm.expires_at = '${opts.expiresAt}'
SET cm.expires_at = '${opts.expiresAt}'
WHERE cm.key = '${opts.key}'`

return dbpool.query(q)
Expand Down

0 comments on commit efacb9e

Please sign in to comment.