mirror of
https://github.com/cwinfo/hyperboria-peers.git
synced 2024-11-27 04:01:35 +00:00
make peerName required in js
This commit is contained in:
parent
20b2c044ba
commit
c49d352f99
2
tests.js
2
tests.js
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user