This is an automated email from the ASF dual-hosted git repository.
mintsweet pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
The following commit(s) were added to refs/heads/main by this push:
new 3ce19a630 fix(configui): fix `enableGraphql` (#6391)
3ce19a630 is described below
commit 3ce19a630e4fef5951d3a409fb97249be8954900
Author: Lynwee <[email protected]>
AuthorDate: Fri Nov 3 10:05:37 2023 +0800
fix(configui): fix `enableGraphql` (#6391)
---
config-ui/src/features/connections/utils.ts | 1 +
config-ui/src/types/connection.ts | 1 +
2 files changed, 2 insertions(+)
diff --git a/config-ui/src/features/connections/utils.ts
b/config-ui/src/features/connections/utils.ts
index a4c158aa7..2a383fd77 100644
--- a/config-ui/src/features/connections/utils.ts
+++ b/config-ui/src/features/connections/utils.ts
@@ -39,6 +39,7 @@ export const transformConnection = (plugin: string,
connection: IConnectionAPI):
password: connection.password,
appId: connection.appId,
secretKey: connection.secretKey,
+ enableGraphql:connection.enableGraphql,
};
};
diff --git a/config-ui/src/types/connection.ts
b/config-ui/src/types/connection.ts
index d85aaf6a8..b11d1d181 100644
--- a/config-ui/src/types/connection.ts
+++ b/config-ui/src/types/connection.ts
@@ -70,4 +70,5 @@ export interface IConnection {
password?: string;
appId?: string;
secretKey?: string;
+ enableGraphql?: boolean;
}