mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-04-02 17:08:13 +02:00
minor fixes
This commit is contained in:
parent
94e471fdf8
commit
9c8e4c61f0
ui/noogle/src/components
@ -4,7 +4,7 @@ import Donate from "@/components/Donate.vue";
|
||||
|
||||
export default {
|
||||
name: "Home",
|
||||
components: {Donate, Nip07, ImageGeneration}
|
||||
components: {Donate, ImageGeneration}
|
||||
}
|
||||
</script>
|
||||
|
||||
|
@ -94,8 +94,8 @@ async function send_search_request(msg) {
|
||||
|
||||
let content = "NIP 90 Search request"
|
||||
let kind = 5302
|
||||
console.log((datefrom.value/1000).toFixed(0))
|
||||
console.log((dateto.value/1000).toFixed(0))
|
||||
//console.log((datefrom.value/1000).toFixed(0))
|
||||
//console.log((dateto.value/1000).toFixed(0))
|
||||
let tags = [
|
||||
["i", msg, "text"],
|
||||
["param", "max_results", "150"],
|
||||
@ -129,6 +129,14 @@ async function send_search_request(msg) {
|
||||
tags_t.push(Tag.parse(tag))
|
||||
}
|
||||
let evt = new EventBuilder(kind, content, tags_t)
|
||||
try{
|
||||
res = await client.sendEventBuilder(evt)
|
||||
|
||||
}
|
||||
catch(error){
|
||||
console.log(error)
|
||||
}
|
||||
|
||||
res = await client.sendEventBuilder(evt)
|
||||
requestid = res.toHex()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user