5
0
mirror of https://github.com/cwinfo/hyperboria-peers.git synced 2024-10-18 10:00:44 +00:00

make peerName required in js

This commit is contained in:
ansuz 2017-12-22 08:37:10 +01:00
parent 20b2c044ba
commit c49d352f99

View File

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