From 5bfed911b37e103127df5b1d49522430e5fa4ceb Mon Sep 17 00:00:00 2001 From: Jared Scheib Date: Fri, 15 Dec 2017 16:03:04 -0800 Subject: [PATCH] Fix destructuring bug in arg with default value --- ui/src/shared/actions/auth.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {