mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-11-15 00:27:43 +01:00
nip86: fix wrong rpc name.
This commit is contained in:
@@ -41,7 +41,7 @@ func DecodeRequest(req Request) (MethodParams, error) {
|
|||||||
}
|
}
|
||||||
return AllowPubKey{pk, reason}, nil
|
return AllowPubKey{pk, reason}, nil
|
||||||
case "listallowedpubkeys":
|
case "listallowedpubkeys":
|
||||||
return ListBannedPubKeys{}, nil
|
return ListAllowedPubKeys{}, nil
|
||||||
case "listeventsneedingmoderation":
|
case "listeventsneedingmoderation":
|
||||||
return ListEventsNeedingModeration{}, nil
|
return ListEventsNeedingModeration{}, nil
|
||||||
case "allowevent":
|
case "allowevent":
|
||||||
|
|||||||
Reference in New Issue
Block a user