Commit ec64990dedde51f01b103833bc0f5db326788385
invite takes opts object, not two args
Dominic Tarr committed on 5/20/2017, 2:02:16 AMParent: 593a79b4db22884bf30be44d48a33fce2ea3074b
Files changed
test/invite.js | changed |
test/invite.js | ||
---|---|---|
@@ -266,9 +266,9 @@ | ||
266 | 266 … | temp: 'test-invite-bob2', timeout: 100, |
267 | 267 … | keys: ssbKeys.generate() |
268 | 268 … | }) |
269 | 269 … | |
270 | - alice.invite.create(1, 'bob', function (err, invite) { | |
270 … | + alice.invite.create({uses:1, note:'bob'}, function (err, invite) { | |
271 | 271 … | if(err) throw err |
272 | 272 … | bob.invite.accept(invite, function (err) { |
273 | 273 … | if(err) throw err |
274 | 274 … |
Built with git-ssb-web