Skip to content

Commit

Permalink
fix: remove async function from FB.login
Browse files Browse the repository at this point in the history
  • Loading branch information
acnormun committed May 7, 2024
1 parent 23a6a0c commit 9ca6802
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/config/channels/facebook/Setup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@
const loginCallback = () => {
this.changeLoginState(true);
FB.login(
async function (response) {
function (response) {
if (response.authResponse && response.authResponse.grantedScopes) {
const accessToken = response.authResponse.accessToken;
this.startPageSelectionStage(accessToken);
Expand Down

0 comments on commit 9ca6802

Please sign in to comment.