Skip to content

Commit dc75067

Browse files
committed
Fixed name mismatch for respondProposal
1 parent ffe4a76 commit dc75067

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/api/controllers/ChatController.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ export class ChatController {
232232

233233
try {
234234
const result = await queryRunner.query(`
235-
INSERT INTO "Transaction" (location, amount, completed, post_id, buyer_id, seller_id, "transactionDate", "confirmationSent")
235+
INSERT INTO "Transaction" (location, amount, completed, "postId", "buyerId", "sellerId", "transactionDate", "confirmationSent")
236236
VALUES ($1, $2, $3, $4, $5, $6, $7, $8)
237237
RETURNING id
238238
`, ["", amount, false, post.id, buyer.firebaseUid, seller.firebaseUid, transactionDate, false]);

0 commit comments

Comments
 (0)