Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Commit

Permalink
Removing old signup team API (#4950)
Browse files Browse the repository at this point in the history
  • Loading branch information
crspeller authored and hmhealey committed Jan 4, 2017
1 parent 78f0262 commit a02612b
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 109 deletions.
12 changes: 0 additions & 12 deletions client/client.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -446,18 +446,6 @@ export default class Client {
end(this.handleResponse.bind(this, 'exportTeam', success, error));
}

signupTeam(email, success, error) {
request.
post(`${this.getTeamsRoute()}/signup`).
set(this.defaultHeaders).
type('application/json').
accept('application/json').
send({email}).
end(this.handleResponse.bind(this, 'signupTeam', success, error));

this.track('api', 'api_teams_signup');
}

adminResetMfa(userId, success, error) {
const data = {};
data.user_id = userId;
Expand Down

This file was deleted.

16 changes: 0 additions & 16 deletions tests/client_team.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,22 +22,6 @@ describe('Client.Team', function() {
});
});

it('signupTeam', function(done) {
var client = TestHelper.createClient();
var email = TestHelper.fakeEmail();

client.signupTeam(
email,
function(data) {
assert.equal(data.email, email);
done();
},
function(err) {
done(new Error(err.message));
}
);
});

it('createTeam', function(done) {
var client = TestHelper.createClient();
var team = TestHelper.fakeTeam();
Expand Down

0 comments on commit a02612b

Please sign in to comment.