mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-19 00:30:56 +00:00
feat(secret-reminders): addressed PR suggestions and improvements
This commit is contained in:
+1
-1
@@ -5,7 +5,7 @@ import { ormify } from "@app/lib/knex";
|
||||
export type TReminderRecipientDALFactory = ReturnType<typeof reminderRecipientDALFactory>;
|
||||
|
||||
export const reminderRecipientDALFactory = (db: TDbClient) => {
|
||||
const reminderRecipientOrm = ormify(db, TableName.RemindersRecipients);
|
||||
const reminderRecipientOrm = ormify(db, TableName.ReminderRecipient);
|
||||
|
||||
return { ...reminderRecipientOrm };
|
||||
};
|
||||
@@ -1,6 +0,0 @@
|
||||
export type TReminderRecipient = {
|
||||
id: string;
|
||||
reminderId: string;
|
||||
userId: string;
|
||||
createdAt: Date;
|
||||
};
|
||||
Reference in New Issue
Block a user