Skip to content

Commit d364f6f

Browse files
authored
fix: type
1 parent 6150ff5 commit d364f6f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/api/oauth2.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ export const getOauth2RedirectURL = async (
1111
provider: string,
1212
rType: Oauth2RequestType,
1313
): Promise<ModelOauth2LoginResponse> => {
14+
const sType = 'type'
1415
return fetcher<ModelOauth2LoginResponse>(FetcherMethod.GET, `/api/v1/oauth2/${provider}`, {
15-
type: rType,
16+
sType : rType,
1617
})
1718
}
1819

0 commit comments

Comments
 (0)