nip86: fix wrong rpc name.

This commit is contained in:
fiatjaf
2024-07-12 13:53:40 -03:00
parent 684ff538ab
commit 3ea28878de

View File

@ -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":