DEV Community

Discussion on: How to Build a Wallet System with Flutterwave Payment Integration Into NodeJs Application

Collapse
 
justcabyr profile image
AbdulKabir Sulaiman🇳🇬

For the register and login logic in the app.js file, await is only valid in an async function, so you'll need to add async to the req,res function or you get an error.

Nice article by the way. Great one.

Collapse
 
olanetsoft profile image
Idris Olubisi💡

async is there, i am not sure you check properly. 🙂

Collapse
 
justcabyr profile image
AbdulKabir Sulaiman🇳🇬

I later saw it, but it wasn't in the initial code snippet. Under sub-heading Implement register and login functionality.

Collapse
 
olanetsoft profile image
Idris Olubisi💡 • Edited

flutterwave