Check if subscription is valid

This commit is contained in:
KMKoushik
2024-05-15 07:44:47 +10:00
parent 64c7613d8c
commit 23750d23a1
2 changed files with 32 additions and 4 deletions

View File

@@ -1,8 +1,11 @@
import pgBoss from "pg-boss";
import { env } from "~/env";
import { EmailAttachment, EmailContent } from "~/types";
import { db } from "../db";
import { sendEmailThroughSes, sendEmailWithAttachments } from "../aws/ses";
import { EmailAttachment } from "~/types";
import { db } from "~/server/db";
import {
sendEmailThroughSes,
sendEmailWithAttachments,
} from "~/server/aws/ses";
import { getConfigurationSetName } from "~/utils/ses-utils";
const boss = new pgBoss({