From 336f4dd3c9dd556fa3d21ce8cdb652f0d1924789 Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Sat, 26 Feb 2022 00:07:37 +0100 Subject: [PATCH] Fix issue with openpgp 5 migration --- src/keys.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/keys.js b/src/keys.js index 989daff..bce12a8 100644 --- a/src/keys.js +++ b/src/keys.js @@ -222,10 +222,10 @@ exports.process = async (publicKey) => { users.forEach((user, i) => { usersOutput[i] = { userData: { - id: user.userId ? user.userId.userid : null, - name: user.userId ? user.userId.name : null, - email: user.userId ? user.userId.email : null, - comment: user.userId ? user.userId.comment : null, + id: user.userID ? user.userID.userID : null, + name: user.userID ? user.userID.name : null, + email: user.userID ? user.userID.email : null, + comment: user.userID ? user.userID.comment : null, isPrimary: primaryUser.index === i, isRevoked: false },