purifyEvent: function signature

This commit is contained in:
Alex Gleason 2024-03-16 13:19:39 -05:00
parent 09369a0122
commit 04cdbd11c9
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ async function hydrateEvents(opts: HydrateEventOpts): Promise<DittoEvent[]> {
}
/** Return a normalized event without any non-standard keys. */
function purifyEvent(event: DittoEvent): NostrEvent {
function purifyEvent(event: NostrEvent): NostrEvent {
return {
id: event.id,
pubkey: event.pubkey,