Browse Source

make peerName required in js

ansuz 5 years ago
parent
commit
c49d352f99
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests.js

+ 1 - 1
tests.js

@@ -37,7 +37,7 @@ if (credsWithDns.length) {
     * contact
 */
 
-var requiredFields = ['password', 'publicKey', 'contact'];
+var requiredFields = ['password', 'publicKey', 'contact', 'peerName'];
 var recommendedFields = ['gpg', 'peerName'];
 
 var insufficientFields = Peers.filter(function (x, p) {