You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

21 rivejä
572 B

  1. import Transaction from "api/transaction/transaction";
  2. export default async function handler(req, resp) {
  3. var input = req.body;
  4. var res = await Transaction.newTransactionYamaha(input.formValue);
  5. console.log(input);
  6. resp.status(200).json(res);
  7. }
  8. // import Transaction from "api/transaction/transaction";
  9. // async function handler(req, resp) {
  10. // var input = req.body;
  11. // var res = await Transaction.newTransaction(input.formValue);
  12. // console.log(input);
  13. // resp.status(200).json(res);
  14. // }
  15. // module.exports = {
  16. // handler: handler,
  17. // };