Skip to content

Commit

Permalink
Removing implicit anys from client4.ts (mattermost#971)
Browse files Browse the repository at this point in the history
* Removing implicit anys from client4.ts

* More fixes around anys
  • Loading branch information
jespino authored and reflog committed Nov 12, 2019
1 parent 1d34309 commit 41e409d
Show file tree
Hide file tree
Showing 4 changed files with 273 additions and 264 deletions.
2 changes: 1 addition & 1 deletion src/actions/users.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1041,7 +1041,7 @@ export function patchUser(user: UserProfile): ActionFunc {
};
}

export function updateUserRoles(userId: string, roles: Array<string>): ActionFunc {
export function updateUserRoles(userId: string, roles: string): ActionFunc {
return async (dispatch: DispatchFunc, getState: GetStateFunc) => {
try {
await Client4.updateUserRoles(userId, roles);
Expand Down
Loading

0 comments on commit 41e409d

Please sign in to comment.