diff --git a/ui/src/shared/actions/auth.js b/ui/src/shared/actions/auth.js index 55fb29a8d7..06b480f5e0 100644 --- a/ui/src/shared/actions/auth.js +++ b/ui/src/shared/actions/auth.js @@ -85,7 +85,7 @@ export const getMeAsync = ({shouldResetMe = false} = {}) => async dispatch => { export const meChangeOrganizationAsync = ( url, organization, - {userHasRoleInOrg = true} + {userHasRoleInOrg = true} = {} ) => async dispatch => { dispatch(meChangeOrganizationRequested()) try {