Похожие чаты

Async function transfer(senderId,receiverId,payment){ let SenderAmount= await pool.query('select balance

from Account where id=?',[senderId]);

let receiverAmount=await pool.query('select balance from Account where id=?',[receiverId]);

SenderAmount=SenderAmount[0].balance;
receiverAmount=receiverAmount[0].balance;

console.log(SenderAmount,receiverAmount);

1 ответов

24 просмотра

You should learn to debug.

Похожие вопросы

Обсуждают сегодня

Карта сайта