Skip to content
Snippets Groups Projects
Commit 3c99c98d authored by Eunhak Lee's avatar Eunhak Lee
Browse files

hotfix: transactions 테이블 구조에 맞춰서 쿼리 변경

parent 5c0b6b15
No related branches found
No related tags found
1 merge request!17hotfix: transactions 테이블 구조 일치
......@@ -37,8 +37,8 @@ const myRepository = {
async getCombinationIdByTransactionId(transactionId) {
const query = `
SELECT combination_id
FROM pcregister_transection
WHERE transaction_id = $1
FROM transactions
WHERE id = $1
`;
const values = [transactionId];
const { rows } = await pool.query(query, values);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment