mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
Fix nip05 endpoints
This commit is contained in:
parent
4f87287d45
commit
a30e19b6b2
2 changed files with 2 additions and 2 deletions
|
|
@ -49,7 +49,7 @@ const adminAccountsController: AppController = async (c) => {
|
||||||
const events: NostrEvent[] = [];
|
const events: NostrEvent[] = [];
|
||||||
|
|
||||||
if (pending) {
|
if (pending) {
|
||||||
for (const event of await store.query([{ kinds: [3036], ...params }], { signal })) {
|
for (const event of await store.query([{ kinds: [3036], '#p': [Conf.pubkey], ...params }], { signal })) {
|
||||||
pubkeys.add(event.pubkey);
|
pubkeys.add(event.pubkey);
|
||||||
events.push(event);
|
events.push(event);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -79,5 +79,5 @@ export const inviteRequestController: AppController = async (c) => {
|
||||||
],
|
],
|
||||||
}, c);
|
}, c);
|
||||||
|
|
||||||
return new Response('', { status: 204 });
|
return new Response(null, { status: 204 });
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue