This is an automated email from the ASF dual-hosted git repository.

klesh 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 682cd65c0 fix(config-ui): missed field rateLimitPerHour in redux 
connection (#6414)
682cd65c0 is described below

commit 682cd65c05b8e10f0a84f57ef4a17fbc2ec29f40
Author: 青湛 <[email protected]>
AuthorDate: Wed Nov 8 21:24:08 2023 +1300

    fix(config-ui): missed field rateLimitPerHour in redux connection (#6414)
---
 config-ui/src/features/connections/utils.ts | 3 ++-
 config-ui/src/types/connection.ts           | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/config-ui/src/features/connections/utils.ts 
b/config-ui/src/features/connections/utils.ts
index 2a383fd77..118e501b6 100644
--- a/config-ui/src/features/connections/utils.ts
+++ b/config-ui/src/features/connections/utils.ts
@@ -39,7 +39,8 @@ export const transformConnection = (plugin: string, 
connection: IConnectionAPI):
     password: connection.password,
     appId: connection.appId,
     secretKey: connection.secretKey,
-    enableGraphql:connection.enableGraphql,
+    enableGraphql: connection.enableGraphql,
+    rateLimitPerHour: connection.rateLimitPerHour,
   };
 };
 
diff --git a/config-ui/src/types/connection.ts 
b/config-ui/src/types/connection.ts
index b11d1d181..48dc057c1 100644
--- a/config-ui/src/types/connection.ts
+++ b/config-ui/src/types/connection.ts
@@ -71,4 +71,5 @@ export interface IConnection {
   appId?: string;
   secretKey?: string;
   enableGraphql?: boolean;
+  rateLimitPerHour?: number;
 }

Reply via email to