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

mintsweet pushed a commit to branch fix-connection-ratelimtperhour
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git

commit 1fad24899974c5dd8dd81a83d8944245d2961970
Author: mintsweet <[email protected]>
AuthorDate: Wed Nov 8 14:49:16 2023 +1300

    fix(config-ui): missed field rateLimitPerHour in redux connection
---
 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