Simplified form control in Login and Register. Fixed registration bug. Throw better errors

This commit is contained in:
Alex Holliday committed 2024-06-12 13:30:56 -07:00
1 parent 7ce28b7042
commit 08565c9eda
6 files changed
+8 -37

No files matched your search

-2
View File
@@ -1,4 +1,3 @@
const express = require("express");
const logger = require("../utils/logger");
require("dotenv").config();
const {
@@ -11,7 +10,6 @@ const {
editAlertBodyValidation,
deleteAlertParamValidation,
} = require("../validation/joi");
const { get } = require("mongoose");
const SERVICE_NAME = "alerts";