add notes to payments, unique values route
This commit is contained in:
@@ -6,6 +6,7 @@ import { notificationModel } from "./notification/notification.schema";
|
||||
import { rtsModel } from "./rts/rts.schema";
|
||||
import { taskModel } from "./task/task.schema";
|
||||
import { AuthenticatedUser } from "./auth";
|
||||
import { paymentModel } from "./payments/payment.schema";
|
||||
|
||||
type Collection =
|
||||
| "users"
|
||||
@@ -14,7 +15,8 @@ type Collection =
|
||||
| "processed"
|
||||
| "notifications"
|
||||
| "rts"
|
||||
| "task";
|
||||
| "task"
|
||||
| "payment";
|
||||
|
||||
const modelMap = {
|
||||
users: userModel,
|
||||
@@ -24,6 +26,7 @@ const modelMap = {
|
||||
notifications: notificationModel,
|
||||
rts: rtsModel,
|
||||
task: taskModel,
|
||||
payment: paymentModel,
|
||||
};
|
||||
|
||||
export async function getUniqueFields(
|
||||
|
||||
Reference in New Issue
Block a user