Skip to content

Commit aee8005

Browse files
committed
use sync store from settings if provided
1 parent 6efe197 commit aee8005

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vs/platform/userDataSync/common/userDataSync.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ export interface IUserDataSyncStore {
125125
}
126126

127127
export function getUserDataSyncStore(productService: IProductService, configurationService: IConfigurationService): IUserDataSyncStore | undefined {
128-
const value = productService[CONFIGURATION_SYNC_STORE_KEY] || configurationService.getValue<{ url: string, authenticationProviderId: string }>(CONFIGURATION_SYNC_STORE_KEY);
128+
const value = configurationService.getValue<{ url: string, authenticationProviderId: string }>(CONFIGURATION_SYNC_STORE_KEY) || productService[CONFIGURATION_SYNC_STORE_KEY];
129129
if (value && value.url && value.authenticationProviderId) {
130130
return {
131131
url: joinPath(URI.parse(value.url), 'v1'),

0 commit comments

Comments
 (0)