This commit is contained in:
Bruno Windels 2020-08-31 16:05:04 +02:00
parent 8b7fdb2c61
commit 0399562340

View File

@ -24,7 +24,7 @@ const DEVICE_KEYS_SIGNATURE_ALGORITHM = "ed25519";
// map 1 device from /keys/query response to DeviceIdentity
function deviceKeysAsDeviceIdentity(deviceSection) {
const deviceId = deviceSection["device_id"];
const userId = deviceSection["userId_id"];
const userId = deviceSection["user_id"];
return {
userId,
deviceId,