mirror of
https://github.com/aljazceru/nostrdvm.git
synced 2025-12-24 01:14:24 +01:00
Update RecommendationGeneration.vue
This commit is contained in:
@@ -83,8 +83,8 @@ async function generate_feed(id) {
|
|||||||
let content = "NIP 90 Content Discovery request"
|
let content = "NIP 90 Content Discovery request"
|
||||||
let kind = 5300
|
let kind = 5300
|
||||||
let tags = []
|
let tags = []
|
||||||
//tags.push(["param", "max_results", "100"])
|
tags.push(["param", "max_results", "200"])
|
||||||
//tags.push(["param", "user", store.state.pubkey.toHex()])
|
tags.push(["param", "user", store.state.pubkey.toHex()])
|
||||||
|
|
||||||
let res;
|
let res;
|
||||||
let requestid;
|
let requestid;
|
||||||
@@ -93,7 +93,8 @@ async function generate_feed(id) {
|
|||||||
if(current_dvm.encryptionSupported && current_dvm.nip88 && current_dvm.nip88.hasActiveSubscription && localStorage.getItem('nostr-key-method') !== 'android-signer' ){
|
if(current_dvm.encryptionSupported && current_dvm.nip88 && current_dvm.nip88.hasActiveSubscription && localStorage.getItem('nostr-key-method') !== 'android-signer' ){
|
||||||
|
|
||||||
let tags_str = []
|
let tags_str = []
|
||||||
for (let tag in tags){
|
for (let tag of tags){
|
||||||
|
|
||||||
tags_str.push(tag)
|
tags_str.push(tag)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user