Skip to content

Commit

Permalink
Support OauthLogin for apple-web
Browse files Browse the repository at this point in the history
  • Loading branch information
tomivm committed Jun 7, 2023
1 parent e8c3251 commit 045585b
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 045585b

Please sign in to comment.