git ssb

4+

Dominic / scuttlebot



Commit ec64990dedde51f01b103833bc0f5db326788385

invite takes opts object, not two args

Dominic Tarr committed on 5/20/2017, 2:02:16 AM
Parent: 593a79b4db22884bf30be44d48a33fce2ea3074b

Files changed

test/invite.jschanged
test/invite.jsView
@@ -266,9 +266,9 @@
266266 temp: 'test-invite-bob2', timeout: 100,
267267 keys: ssbKeys.generate()
268268 })
269269
270- alice.invite.create(1, 'bob', function (err, invite) {
270 + alice.invite.create({uses:1, note:'bob'}, function (err, invite) {
271271 if(err) throw err
272272 bob.invite.accept(invite, function (err) {
273273 if(err) throw err
274274

Built with git-ssb-web