diff --git a/apps/civicsignalblog/src/payload/components/allowedAppSelect/index.tsx b/apps/civicsignalblog/src/payload/components/allowedAppSelect/index.tsx index a14502595..821ac4433 100644 --- a/apps/civicsignalblog/src/payload/components/allowedAppSelect/index.tsx +++ b/apps/civicsignalblog/src/payload/components/allowedAppSelect/index.tsx @@ -6,7 +6,7 @@ import applications from "#civicsignalblog/payload/lib/data/common/applications" function CustomSelectComponent({ path, label }) { const { user } = useAuth(); - const { value, setValue } = useField({ path }); + const { value, setValue } = useField({ path }); const [options, setOptions] = useState([]); useEffect(() => { @@ -32,7 +32,7 @@ function CustomSelectComponent({ path, label }) { path={path} name={path} options={options} - value={value} + value={String(value ?? "")} onChange={(e) => setValue(e.value)} /> diff --git a/apps/climatemappedafrica/server.ts b/apps/climatemappedafrica/server.ts index 6bd524bb4..d63cd4dcb 100644 --- a/apps/climatemappedafrica/server.ts +++ b/apps/climatemappedafrica/server.ts @@ -43,7 +43,7 @@ const start = async (): Promise => { transportOptions: { auth: { user: process.env.SMTP_USER || "apikey", - apiKey: smtpAuthPass, + pass: smtpAuthPass, }, host: process.env.SMTP_HOST || "smtp.sendgrid.net", port: smtpPort,