git ssb

0+

cel / ssb-issues



Commit 22e129844192c0ac7cf466780ed41402f70a273c

Fix createFeedStream arguments

Remove unimplemented `limit` option
Charles Lehner committed on 4/9/2016, 8:01:06 PM
Parent: 5f5fd45e0efd45fe0eb6b8caa4163f8921fbad22

Files changed

README.mdchanged
index.jschanged
README.mdView
@@ -73,9 +73,9 @@
7373
7474 Get a stream of issues
7575
7676 ```js
77-issues.createFeedStream({ project:, open:, live:, gt:, gte:, lt:, lte:, reverse:, limit:, }, cb)
77+issues.createFeedStream({ project:, open:, author:, live:, gt:, gte:, lt:, lte:, reverse: })
7878 ```
7979
8080 - `project` (Ref): get only issues for the given target
8181 - `open` (boolean): get only open or closed issues
index.jsView
@@ -186,9 +186,8 @@
186186 })
187187
188188 function createFeedStream(opts) {
189189 opts.type = 'issue'
190- delete opts.limit
191190 return pull(
192191 // TODO: use links2 for this
193192 ssb.messagesByType(opts),
194193 pull.filter(function (msg) {

Built with git-ssb-web