deno fmt
This commit is contained in:
parent
75135c62a4
commit
39b75d7f95
|
@ -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 };
|
||||||
|
|
Loading…
Reference in New Issue