Skip to content

Commit c5af377

Browse files
committed
fixed typo
1 parent d6c8a2d commit c5af377

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ module.exports = class PostgresDB {
5959
if (err) {
6060
console.log(err.stack)
6161
callback(err)
62-
} else if(result.rows.length === 0) {
62+
} else if(res.rows.length === 0) {
6363
console.log("Unable to commit, not the latest version")
6464
callback(null,false)
6565
}

0 commit comments

Comments
 (0)