fix(app): skip legacy config reads for v2 (#40211)
This commit is contained in:
parent
1882c33827
commit
d4b85f8d83
3 changed files with 103 additions and 6 deletions
|
|
@ -184,7 +184,7 @@ function makeQueryOptionsApi(
|
|||
protocol: Promise<"v1" | "v2">,
|
||||
) {
|
||||
return {
|
||||
globalConfig: () => loadGlobalConfigQuery(scope, serverSDK()),
|
||||
globalConfig: () => loadGlobalConfigQuery(scope, serverSDK(), protocol),
|
||||
projects: () => loadProjectsQuery(scope, serverAPI.project),
|
||||
providers: (directory: PathKey | null) =>
|
||||
loadProvidersQuery(scope, directory, serverAPI, directory ? sdkFor(directory) : serverSDK(), protocol),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue