mirror of
https://github.com/fluxscape/fluxscape.git
synced 2026-01-11 14:52:54 +01:00
fix: save appId and url
This commit is contained in:
@@ -54,7 +54,9 @@ export class ExternalCloudService {
|
|||||||
|
|
||||||
if (options.name) broker.name = options.name;
|
if (options.name) broker.name = options.name;
|
||||||
if (options.description) broker.description = options.description;
|
if (options.description) broker.description = options.description;
|
||||||
|
if (options.appId) broker.appId = options.appId;
|
||||||
if (options.masterKey) broker.masterKey = options.masterKey;
|
if (options.masterKey) broker.masterKey = options.masterKey;
|
||||||
|
if (options.url) broker.endpoint = options.url;
|
||||||
|
|
||||||
await JSONStorage.set('externalBrokers', { brokers });
|
await JSONStorage.set('externalBrokers', { brokers });
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,9 @@ export type UpdateEnvironmentRequest = {
|
|||||||
id: string;
|
id: string;
|
||||||
name: string | undefined;
|
name: string | undefined;
|
||||||
description: string | undefined;
|
description: string | undefined;
|
||||||
|
appId: string | undefined;
|
||||||
masterKey: string | undefined;
|
masterKey: string | undefined;
|
||||||
|
url: string | undefined;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type CreateEnvironment = {
|
export type CreateEnvironment = {
|
||||||
|
|||||||
@@ -64,7 +64,9 @@ function AsSelfHosted({
|
|||||||
id: environment.id,
|
id: environment.id,
|
||||||
name,
|
name,
|
||||||
description,
|
description,
|
||||||
masterKey
|
appId,
|
||||||
|
masterKey,
|
||||||
|
url
|
||||||
})
|
})
|
||||||
.then(() => {
|
.then(() => {
|
||||||
ToastLayer.showSuccess(`Updated Cloud Service`);
|
ToastLayer.showSuccess(`Updated Cloud Service`);
|
||||||
|
|||||||
Reference in New Issue
Block a user