clean up
This commit is contained in:
parent
469aabc10a
commit
7882c9bbcc
2 changed files with 1 additions and 1 deletions
|
|
@ -43,6 +43,7 @@ async function customerMarket(path) {
|
||||||
authors: Array.from(merchants)
|
authors: Array.from(merchants)
|
||||||
}
|
}
|
||||||
])
|
])
|
||||||
|
pool.close(relays)
|
||||||
await this.$emit('update-data', [...stallEvents, ...productEvents])
|
await this.$emit('update-data', [...stallEvents, ...productEvents])
|
||||||
this.$q.loading.hide()
|
this.$q.loading.hide()
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,6 @@ const market = async () => {
|
||||||
'wss://nostr.zebedee.cloud'
|
'wss://nostr.zebedee.cloud'
|
||||||
]
|
]
|
||||||
const eventToObj = event => {
|
const eventToObj = event => {
|
||||||
console.log(event.content)
|
|
||||||
event.content = JSON.parse(event.content) || null
|
event.content = JSON.parse(event.content) || null
|
||||||
return {
|
return {
|
||||||
...event,
|
...event,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue