Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
cressie176 committed Jan 27, 2024
1 parent 84f4b8f commit 483dcd2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/Filby.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,11 @@ module.exports = class Filby {
async getCurrentChangeSet(projection) {
return this.withTransaction(async (tx) => {
const { rows } = await tx.query(`
SELECT change_set_id, effective, description, last_modified, entity_tag
FROM fby_projection_change_log_vw
WHERE projection_id = $1 AND effective <= now()
ORDER BY effective DESC, change_set_id DESC
LIMIT 1`, [projection.id]);
SELECT change_set_id, effective, description, last_modified, entity_tag
FROM fby_projection_change_log_vw
WHERE projection_id = $1 AND effective <= now()
ORDER BY effective DESC, change_set_id DESC
LIMIT 1`, [projection.id]);
return rows.map(toChangeSet)[0];
});
}
Expand Down

0 comments on commit 483dcd2

Please sign in to comment.