bug修复
This commit is contained in:
@@ -9,7 +9,7 @@ export interface OauthTokenRequest {
|
||||
scope?: string;
|
||||
mobile?: string;
|
||||
code?: string;
|
||||
clientConfigld?: string;
|
||||
clientConfigId?: string;
|
||||
[property: string]: any;
|
||||
}
|
||||
|
||||
@@ -37,7 +37,7 @@ export async function oauthToken(
|
||||
const params = buildFormUrlEncodedParams({
|
||||
...data,
|
||||
clientId: data.clientId ?? getRequestContext().clientId ?? "6",
|
||||
clientConfigld: data.clientConfigld ?? getRequestContext().clientId ?? "6",
|
||||
clientConfigId: data.clientConfigId ?? getRequestContext().clientId ?? "6",
|
||||
} as Record<string, unknown>);
|
||||
|
||||
const res = await requestRaw<OAuthTokenResponse>(
|
||||
|
||||
Reference in New Issue
Block a user