Fixed mongo error

This commit is contained in:
Jonathan Barrow
2021-09-12 17:32:43 -04:00
parent c1d095b8d9
commit abce1ec3fa

View File

@@ -136,7 +136,7 @@ router.get('/nex_token/@me', async (request, response) => {
date: BigInt(Date.now())
};
const nexUser = NEXAccount.findOne({
const nexUser = await NEXAccount.findOne({
owning_pid: pnid.get('pid')
});