pull/4/head
AdamSBlack 2021-10-31 02:28:54 +00:00
parent b383fe5903
commit 8d435a3cbc
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ async function pairDevice(account, qr_string) {
pairJWT = qrCodeParts[2];
} else {
pairJWT = qr_string;
const data = authenticationController.readJWT(qr_string);
const data = await authenticationController.readJWT(qr_string);
deviceQuery = await models_orm.models.device.findOne({ where: { dongle_id: data.identiy }});
}