mirror of
https://github.com/kind-0/nsecbunkerd.git
synced 2026-05-03 07:00:11 +00:00
fix: Update ping command response from 'ok' to 'pong'
This commit is contained in:
parent
35ab552e79
commit
ee8f9af717
@ -2,5 +2,5 @@ import { NDKKind, NDKRpcRequest } from "@nostr-dev-kit/ndk";
|
||||
import AdminInterface from "../index.js";
|
||||
|
||||
export default async function ping(admin: AdminInterface, req: NDKRpcRequest) {
|
||||
return admin.rpc.sendResponse(req.id, req.pubkey, "ok", NDKKind.NostrConnect);
|
||||
return admin.rpc.sendResponse(req.id, req.pubkey, "pong", NDKKind.NostrConnect);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user