Skip to content

Commit

Permalink
tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
mixmix committed Jun 27, 2022
1 parent 4cbcf77 commit a95f19d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lib/get-group-tangle.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const { isCloakedMsg: isGroup } = require('ssb-ref')
const pull = require('pull-stream')
const Reduce = require('@tangle/reduce') // TODO update this
const Strategy = require('@tangle/strategy') // update
const Reduce = require('@tangle/reduce')
const Strategy = require('@tangle/strategy')

// for figuring out what "previous" should be for the group

Expand Down Expand Up @@ -82,8 +82,6 @@ module.exports = function GetGroupTangle (server, keystore) {
pull.collect((err, nodes) => {
if (err) return cb(err)

// NOTE we're

// NOTE: backlink query does not get root node
nodes.push({ key: info.root, previous: null })

Expand Down

0 comments on commit a95f19d

Please sign in to comment.