Skip to content

Commit

Permalink
clean up console output and update nostr-geotags
Browse files Browse the repository at this point in the history
  • Loading branch information
dskvr committed Feb 14, 2024
1 parent e272f28 commit c409413
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 12 deletions.
2 changes: 1 addition & 1 deletion apps/nocapd/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"chalk": "5.3.0",
"ngeohash": "^0.6.3",
"nostr-fetch": "0.14.1",
"nostr-geotags": "^0.2.2",
"nostr-geotags": "^0.5.0",
"object-mapper": "6.2.0",
"timestring": "^7.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion apps/trawler/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ trawler:
enabled: true
timeout: 1000
interval: 24*60*60*1000
max: 1000
max: 1
expiry: [
{ max: 3, delay: 1000 * 60 * 60 * 12},
{ max: 6, delay: 1000 * 60 * 60 * 24 },
Expand Down
10 changes: 0 additions & 10 deletions packages/publisher/src/kinds/Kind30066.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,18 +174,8 @@ export class Kind30066 extends Publisher {

const countRttTags = tags.filter( tag => tag[0] === 'rtt' )?.length

console.log(data.url, countRttTags)

if(!countRttTags || countRttTags == 0){
console.log(data)
console.log(tags)
process.exit()
}

return tags
}


}

const transformGeoResult = geo => {
Expand Down

0 comments on commit c409413

Please sign in to comment.