From a812b2d7aca7fd7c16262950ff234034c5ca7c20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20=C5=A0o=C5=A1i=C4=87?= Date: Thu, 11 Jul 2024 18:26:53 +0200 Subject: [PATCH] Fix MailGun in main.wasp to Mailgun (#221) * Fix MailGun in main.wasp to Mailgun * fix --- opensaas-sh/app_diff/main.wasp.diff | 4 ++-- template/app/main.wasp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/opensaas-sh/app_diff/main.wasp.diff b/opensaas-sh/app_diff/main.wasp.diff index 676826c..f76025c 100644 --- a/opensaas-sh/app_diff/main.wasp.diff +++ b/opensaas-sh/app_diff/main.wasp.diff @@ -73,7 +73,7 @@ @@ -76,11 +74,11 @@ // NOTE: "Dummy" provider is just for local development purposes. // Make sure to check the server logs for the email confirmation url (it will not be sent to an address)! - // Once you are ready for production, switch to e.g. "SendGrid" or "MailGun" providers. Check out https://docs.opensaas.sh/guides/email-sending/ . + // Once you are ready for production, switch to e.g. "SendGrid" or "Mailgun" providers. Check out https://docs.opensaas.sh/guides/email-sending/ . - provider: Dummy, + provider: SendGrid, defaultFrom: { @@ -84,7 +84,7 @@ }, }, } -@@ -345,7 +343,10 @@ +@@ -323,7 +321,10 @@ email String? @unique username String? @unique lastActiveTimestamp DateTime @default(now()) diff --git a/template/app/main.wasp b/template/app/main.wasp index 29479c8..b5e0f92 100644 --- a/template/app/main.wasp +++ b/template/app/main.wasp @@ -75,7 +75,7 @@ app OpenSaaS { emailSender: { // NOTE: "Dummy" provider is just for local development purposes. // Make sure to check the server logs for the email confirmation url (it will not be sent to an address)! - // Once you are ready for production, switch to e.g. "SendGrid" or "MailGun" providers. Check out https://docs.opensaas.sh/guides/email-sending/ . + // Once you are ready for production, switch to e.g. "SendGrid" or "Mailgun" providers. Check out https://docs.opensaas.sh/guides/email-sending/ . provider: Dummy, defaultFrom: { name: "Open SaaS App", @@ -420,4 +420,4 @@ entity File {=psl key String uploadUrl String psl=} -//#endregion \ No newline at end of file +//#endregion