chore: Allow disabling email sending without errors (#15051)

* chore: Allow disabling email sending without errors

* Explicitly return null for some deps down the tree
This commit is contained in:
Alex van Andel
2024-05-15 15:06:44 +01:00
committed by GitHub
parent 87a8b5a8dd
commit 775010cd2d
+2 -1
View File
@@ -3,7 +3,8 @@ import mailhog from "mailhog";
import { IS_MAILHOG_ENABLED } from "@calcom/lib/constants";
const unimplemented = () => {
throw new Error("Mailhog is not enabled");
// throw new Error("Mailhog is not enabled");
return null;
};
const hasUUID = (query: string) => {