mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 03:19:46 +00:00
purifyEvent: function signature
This commit is contained in:
parent
09369a0122
commit
04cdbd11c9
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue