refactor: allow&block clean-up
This commit is contained in:
parent
88d53bd73d
commit
2099a8b7bb
3 changed files with 11 additions and 63 deletions
|
|
@ -126,11 +126,11 @@ async function relayDetails(path) {
|
|||
this.relay.config.allowedPublicKeys =
|
||||
this.relay.config.allowedPublicKeys.filter(p => p !== pubKey)
|
||||
},
|
||||
|
||||
deleteBlockedPublicKey: function (pubKey) {
|
||||
this.relay.config.blockedPublicKeys =
|
||||
this.relay.config.blockedPublicKeys.filter(p => p !== pubKey)
|
||||
},
|
||||
|
||||
addSkipAuthForEvent: function () {
|
||||
value = +this.skipEventKind
|
||||
if (this.relay.config.skipedAuthEvents.indexOf(value) != -1) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue