Skip to content

Commit 19a7277

Browse files
committed
fixing column name change
1 parent 98e982a commit 19a7277

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/db/transactions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const getLastTransaction = async ({ wallet_address, github_id, ip_address, query
2121
WHERE
2222
(wallet_address = $1) OR
2323
(ip_address = $2) OR
24-
(github_username = $3)
24+
(github_id = $3)
2525
ORDER BY timestamp DESC
2626
LIMIT $4;
2727
`;

0 commit comments

Comments
 (0)