Get team_token from the RTS on login
Use the /login endpoint of the RTS to get the team token when the user has successfully logged in.
This commit is contained in:
@@ -77,4 +77,14 @@ export default class RtsClient {
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
login(userId) {
|
||||
return request(this._url + '/login',
|
||||
{
|
||||
qs: {
|
||||
user_id: userId,
|
||||
},
|
||||
}
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user