Skip to content

Commit

Permalink
Revert "feat: deprecate mixpanel apiSecret (#1304)"
Browse files Browse the repository at this point in the history
This reverts commit d02302c.
  • Loading branch information
Gauravudia authored Apr 17, 2024
1 parent edf2afe commit 12ea815
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/configurations/destinations/mp/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
"type": "string",
"pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$"
},
"apiSecret": {
"type": "string",
"pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$"
},
"serviceAccountUserName": {
"type": "string"
},
Expand Down
10 changes: 10 additions & 0 deletions src/configurations/destinations/mp/ui-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,16 @@
"placeholder": "c24f56ed8172XXXX6de5a5f0befe8b92",
"secret": true
},
{
"type": "textInput",
"label": "API Secret",
"value": "apiSecret",
"regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$",
"regexErrorMessage": "Invalid API Secret",
"required": false,
"placeholder": "f8a911adfbb6XXXXc43cdfe29e912a90",
"secret": true
},
{
"type": "textInput",
"label": "Service Account Username",
Expand Down

0 comments on commit 12ea815

Please sign in to comment.