fix changig registry

This commit is contained in:
Lucy Cifferello
2024-04-08 10:33:02 -04:00
parent 35fe06a892
commit 05f4df1a30

View File

@@ -155,7 +155,7 @@ export class MarketplaceRegistryModal {
)
try {
await this.api.setDbValue(['marketplace', 'known-hosts'], filtered)
await this.api.setDbValue(['marketplace', 'knownHosts'], filtered)
} catch (e: any) {
this.errorService.handleError(e)
} finally {
@@ -173,7 +173,7 @@ export class MarketplaceRegistryModal {
loader.add(this.loader.open('Changing Registry...').subscribe())
try {
await this.api.setDbValue<string>(['marketplace', 'selected-url'], url)
await this.api.setDbValue<string>(['marketplace', 'selectedUrl'], url)
} catch (e: any) {
this.errorService.handleError(e)
} finally {
@@ -218,7 +218,7 @@ export class MarketplaceRegistryModal {
loader.closed = false
loader.add(this.loader.open('Saving...').subscribe())
await this.api.setDbValue(['marketplace', 'known-hosts', url], { name })
await this.api.setDbValue(['marketplace', 'knownHosts', url], { name })
}
}