forked from Kieran/snort
bug: Remove extra prop from profile
This commit is contained in:
parent
3d7661214c
commit
27ccf9cb5b
@ -15,7 +15,12 @@ export interface MetadataCache extends UserMetadata {
|
||||
/**
|
||||
* The pubkey of the owner of this metadata
|
||||
*/
|
||||
pubkey: HexKey
|
||||
pubkey: HexKey,
|
||||
|
||||
/**
|
||||
* bech32 encoded pub key
|
||||
*/
|
||||
npub: string
|
||||
};
|
||||
|
||||
export function mapEventToProfile(ev: TaggedRawEvent) {
|
||||
|
@ -65,6 +65,7 @@ export default function ProfileSettings() {
|
||||
delete userCopy["loaded"];
|
||||
delete userCopy["created"];
|
||||
delete userCopy["pubkey"];
|
||||
delete userCopy["npub"];
|
||||
console.debug(userCopy);
|
||||
|
||||
let ev = await publisher.metadata(userCopy);
|
||||
|
Loading…
Reference in New Issue
Block a user