feat: Enable reauthorization for Facebook (#1286)

This commit is contained in:
Sojan Jose
2020-09-30 01:12:32 +05:30
committed by GitHub
parent 99ca54fd3c
commit b862817b29
20 changed files with 281 additions and 15 deletions

View File

@@ -139,6 +139,14 @@ export const actions = {
throw new Error(error);
}
},
reauthorizeFacebookPage: async ({ commit }, params) => {
try {
const response = await FBChannel.reauthorizeFacebookPage(params);
commit(types.default.EDIT_INBOXES, response.data);
} catch (error) {
throw new Error(error.message);
}
},
};
export const mutations = {