This commit is contained in:
Alex Gleason 2023-06-10 23:02:55 -05:00
parent 75135c62a4
commit 39b75d7f95
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
import { Conf } from '@/config.ts'; import { Conf } from '@/config.ts';
import { finishEvent, nip19 } from '@/deps.ts'; import { finishEvent, nip19 } from '@/deps.ts';
import type { SignedEvent, EventTemplate } from '@/event.ts'; import type { EventTemplate, SignedEvent } from '@/event.ts';
// deno-lint-ignore require-await // deno-lint-ignore require-await
async function signAdminEvent<K extends number = number>(event: EventTemplate<K>): Promise<SignedEvent<K>> { async function signAdminEvent<K extends number = number>(event: EventTemplate<K>): Promise<SignedEvent<K>> {
@ -14,4 +14,4 @@ async function signAdminEvent<K extends number = number>(event: EventTemplate<K>
return finishEvent(event, result.data); return finishEvent(event, result.data);
} }
export { signAdminEvent }; export { signAdminEvent };