small changes

This commit is contained in:
mlorb 2017-11-06 11:34:25 +01:00
parent 21e3c653eb
commit bd569b9746
2 changed files with 5 additions and 6 deletions

View file

@ -10,8 +10,8 @@ import {
export const removeUserFromTeam = (
teamId: number,
teamUserId: number
): Promise<*> => {
return axiosInstance({
): Promise<*> =>
axiosInstance({
method: "DELETE",
url: REMOVE_USER_FROM_TEAM_PATH,
data: {
@ -19,7 +19,6 @@ export const removeUserFromTeam = (
user_team: teamUserId
}
}).then(({ data }) => data.team_users);
};
export const inviteUsersToTeam = (
role: number,