Remove warnings

pull/994/head
Andrew Watkins 2017-03-10 14:25:09 -08:00
parent f38f161646
commit c003ac0505
1 changed files with 0 additions and 6 deletions

View File

@ -217,12 +217,6 @@ export const updateUserPermissionsAsync = (user, permissions) => async (dispatch
}
export const updateUserRolesAsync = (user, roles) => async (dispatch) => {
console.log('The backend for this is not hooked up yet')
console.log('Once it is go into admin/actions/index and delete these lines')
console.log('user to update: ', user)
console.log('to be updated with these roles: ', roles)
return
try {
await updateUserAJAX(user.links.self, roles, user.permissions)
dispatch(publishNotification('success', 'User roles updated'))