Commit 5b431a822c20b63001657a66cb326c29262f5f84
pass callback to view.get
Dominic Tarr committed on 5/20/2017, 10:23:00 AMParent: d0a16abb83f347accbf7e24559920b9afe4d5f51
Files changed
plugins/friends.js | changed |
plugins/friends.js | |||
---|---|---|---|
@@ -48,9 +48,9 @@ | |||
48 | 48 … | ||
49 | 49 … | return { | |
50 | 50 … | ||
51 | 51 … | get: function (opts, cb) { | |
52 | - index.get(null, cb || opts) | ||
52 … | + index.get(opts, cb) | ||
53 | 53 … | }, | |
54 | 54 … | ||
55 | 55 … | createFriendStream: valid.source(function (opts) { | |
56 | 56 … | opts = opts || {} | |
@@ -108,4 +108,5 @@ | |||
108 | 108 … | } | |
109 | 109 … | } | |
110 | 110 … | } | |
111 | 111 … | ||
112 … | + |
Built with git-ssb-web