Skip to content

Conversation

@dominictarr
Copy link
Contributor

Copy link

@ahdinosaur ahdinosaur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did you mean to add these logs? if so, instead of console.log and console.error can we use the built-in logger at ssb-server/plugins/logging.js?

opts = opts || {}

if(!isString(opts.query)) return pull.values([])
console.error('search:', opts)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

accidental log?

pull(
search.query({query: opts.query}),
pull.drain(function (data) {
console.log('found:', data.key)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

accidental log?

@dominictarr dominictarr merged commit ab8b33f into master May 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants