feat: Set up store for teams (#1689)
This commit is contained in:
committed by
GitHub
parent
cadb246eaa
commit
941d4219f0
@@ -56,7 +56,7 @@ export const actions = {
|
||||
commit(SET_TEAM_UI_FLAG, { isUpdating: true });
|
||||
try {
|
||||
const response = await TeamsAPI.update(id, updateObj);
|
||||
commit(EDIT_TEAM, response.data.payload);
|
||||
commit(EDIT_TEAM, response.data);
|
||||
} catch (error) {
|
||||
throw new Error(error);
|
||||
} finally {
|
||||
|
||||
Reference in New Issue
Block a user