Unverified Commit e56d5bbd authored by Robert Knight's avatar Robert Knight Committed by GitHub

Merge pull request #777 from hypothesis/fix-group-leave

Fix leaving a group from the client
parents c9ec57cc 3b122041
......@@ -169,7 +169,7 @@ function groups($rootScope, store, api, isSidebar, localStorage, serviceUrl, ses
// by optimistically updating the session state
return api.group.member.delete({
pubid: id,
user: 'me',
userid: 'me',
});
}
......
......@@ -314,7 +314,7 @@ describe('groups', function() {
return s.leave('id2').then(() => {
assert.calledWithMatch(fakeApi.group.member.delete, {
pubid: 'id2',
user: 'me',
userid: 'me',
});
});
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment