Fix typo
This commit is contained in:
parent
4b183c8976
commit
7e9a17266b
@ -47,7 +47,7 @@ class PGP {
|
|||||||
util.throw(400, 'Invalid PGP key: only one key can be uploaded');
|
util.throw(400, 'Invalid PGP key: only one key can be uploaded');
|
||||||
}
|
}
|
||||||
|
|
||||||
// verify primar key
|
// verify primary key
|
||||||
let key = r.keys[0];
|
let key = r.keys[0];
|
||||||
let primaryKey = key.primaryKey;
|
let primaryKey = key.primaryKey;
|
||||||
if (key.verifyPrimaryKey() !== openpgp.enums.keyStatus.valid) {
|
if (key.verifyPrimaryKey() !== openpgp.enums.keyStatus.valid) {
|
||||||
|
Loading…
Reference in New Issue
Block a user