A few last tweaks regarding UX and env vars
parent
2a304fb15a
commit
6238b6d6b9
|
@ -77,7 +77,7 @@ NEXT_PUBLIC_HELPSCOUT_KEY=
|
|||
SEND_FEEDBACK_EMAIL=
|
||||
|
||||
# Sengrid
|
||||
# Used for email reminders in workflows
|
||||
# Used for email reminders in workflows and internal sync services
|
||||
SENDGRID_API_KEY=
|
||||
SENDGRID_EMAIL=
|
||||
|
||||
|
@ -135,5 +135,5 @@ NEXT_PUBLIC_TEAM_IMPERSONATION=false
|
|||
# Close.com internal CRM
|
||||
CLOSECOM_API_KEY=
|
||||
|
||||
# Sendgrid internal email sender
|
||||
SENDGRID_API_KEY=
|
||||
# Sendgrid internal sync service
|
||||
SENDGRID_SYNC_API_KEY=
|
||||
|
|
4
app.json
4
app.json
|
@ -50,6 +50,10 @@
|
|||
"description": "Sendgrid api key. Used for email reminders in workflows",
|
||||
"value": ""
|
||||
},
|
||||
"SENDGRID_SYNC_API_KEY": {
|
||||
"description": "Sendgrid internal sync service",
|
||||
"value": ""
|
||||
},
|
||||
"SENDGRID_EMAIL": {
|
||||
"description": "Sendgrid email. Used for email reminders in workflows",
|
||||
"value": ""
|
||||
|
|
|
@ -179,7 +179,9 @@ const IntegrationsContainer = ({ variant, exclude }: IntegrationsContainerProps)
|
|||
})}
|
||||
description={t(`no_category_apps_description_${variant || "other"}`)}
|
||||
buttonRaw={
|
||||
<Button color="secondary" href={variant ? `/apps/categories/${variant}` : "/apps"}>
|
||||
<Button
|
||||
color="secondary"
|
||||
href={variant ? `/apps/categories/${variant}` : "/apps/categories/other"}>
|
||||
{t(`connect_${variant || "other"}_apps`)}
|
||||
</Button>
|
||||
}
|
||||
|
|
|
@ -39,7 +39,7 @@ export type SendgridNewContact = {
|
|||
job_id: string;
|
||||
};
|
||||
|
||||
const environmentApiKey = process.env.SENDGRID_API_KEY || "";
|
||||
const environmentApiKey = process.env.SENDGRID_SYNC_API_KEY || "";
|
||||
|
||||
/**
|
||||
* This class to instance communicating to Sendgrid APIs requires an API Key.
|
||||
|
|
|
@ -181,6 +181,7 @@
|
|||
"$CI",
|
||||
"$CLOSECOM_API_KEY",
|
||||
"$SENDGRID_API_KEY",
|
||||
"$SENDGRID_SYNC_API_KEY",
|
||||
"$SENDGRID_EMAIL",
|
||||
"$CRON_API_KEY",
|
||||
"$DAILY_API_KEY",
|
||||
|
|
Loading…
Reference in New Issue