mirror of
https://codeberg.org/keyoxide/doipjs.git
synced 2024-12-23 06:59:29 -07:00
Fix issue with openpgp 5 migration
This commit is contained in:
parent
4708cda222
commit
336f4dd3c9
1 changed files with 4 additions and 4 deletions
|
@ -222,10 +222,10 @@ exports.process = async (publicKey) => {
|
||||||
users.forEach((user, i) => {
|
users.forEach((user, i) => {
|
||||||
usersOutput[i] = {
|
usersOutput[i] = {
|
||||||
userData: {
|
userData: {
|
||||||
id: user.userId ? user.userId.userid : null,
|
id: user.userID ? user.userID.userID : null,
|
||||||
name: user.userId ? user.userId.name : null,
|
name: user.userID ? user.userID.name : null,
|
||||||
email: user.userId ? user.userId.email : null,
|
email: user.userID ? user.userID.email : null,
|
||||||
comment: user.userId ? user.userId.comment : null,
|
comment: user.userID ? user.userID.comment : null,
|
||||||
isPrimary: primaryUser.index === i,
|
isPrimary: primaryUser.index === i,
|
||||||
isRevoked: false
|
isRevoked: false
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue