Skip to content

Commit

Permalink
Merge pull request #1500 from tomivm/master
Browse files Browse the repository at this point in the history
Support OauthLogin for apple-web
  • Loading branch information
tomivm authored Jun 7, 2023
2 parents e8c3251 + 045585b commit 95fdd72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ class API {
}

async oAuthLogin(type, query) {
if (type === 'apple') {
if (type === 'apple' || type === 'apple-web') {
const authCode = query?.substring(1);
const { data } = await this.axiosInstance.post(
`/login/${type}/callback`,
Expand Down

0 comments on commit 95fdd72

Please sign in to comment.