Skip to content

Commit

Permalink
chore: handle masked api keys
Browse files Browse the repository at this point in the history
  • Loading branch information
JeevaRamu0104 committed Sep 17, 2024
1 parent a9b9cd5 commit 91358cb
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/screens/Connectors/ConnectorUpdateAuthCreds.res
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
let make = (~connectorInfo: ConnectorTypes.connectorPayload, ~getConnectorDetails) => {
open ConnectorUtils
open APIUtils
open LogicUtils
open ConnectorAccountDetailsHelper
let mixpanelEvent = MixpanelHook.useSendEvent()
let getURL = useGetURL()
Expand Down Expand Up @@ -59,7 +60,12 @@ let make = (~connectorInfo: ConnectorTypes.connectorPayload, ~getConnectorDetail
("connector_webhook_details", connectorInfo.connector_webhook_details),
("connector_label", connectorInfo.connector_label->JSON.Encode.string),
("metadata", connectorInfo.metadata),
("additional_merchant_data", connectorInfo.additional_merchant_data),
(
"additional_merchant_data",
connectorInfo.additional_merchant_data->checkEmptyJson
? JSON.Encode.null
: connectorInfo.additional_merchant_data,
),
]->LogicUtils.getJsonFromArrayOfJson
}, (
connectorInfo.connector_webhook_details,
Expand Down

0 comments on commit 91358cb

Please sign in to comment.