You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by mi...@apache.org on 2023/11/08 01:49:30 UTC

(incubator-devlake) branch fix-connection-ratelimtperhour created (now 1fad24899)

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

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


      at 1fad24899 fix(config-ui): missed field rateLimitPerHour in redux connection

This branch includes the following new commits:

     new 1fad24899 fix(config-ui): missed field rateLimitPerHour in redux connection

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(incubator-devlake) 01/01: fix(config-ui): missed field rateLimitPerHour in redux connection

Posted by mi...@apache.org.
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 <0x...@gmail.com>
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;
 }