pull/4/head
parent
b383fe5903
commit
8d435a3cbc
|
@ -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 }});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue