Merge pull request #1511 from bluewave-labs/hotfix/be/env-config

hotfix: fix env vars for settings service
This commit is contained in:
Alexander Holliday authored and GitHub committed 2025-01-02 12:30:15 -08:00
commit 67749585e0
2 files changed
+2 -2

No files matched your search

-2
View File
@@ -8,14 +8,12 @@ import {
newPasswordValidation,
} from "../validation/joi.js";
import logger from "../utils/logger.js";
import dotenv from "dotenv";
import { errorMessages, successMessages } from "../utils/messages.js";
import jwt from "jsonwebtoken";
import { getTokenFromHeaders, tokenType } from "../utils/utils.js";
import crypto from "crypto";
import { handleValidationError, handleError } from "./controllerUtils.js";
const SERVICE_NAME = "authController";
dotenv.config();
class AuthController {
constructor(db, settingsService, emailService, jobQueue) {
+2
View File
@@ -1,4 +1,6 @@
const SERVICE_NAME = "SettingsService";
import dotenv from "dotenv";
dotenv.config();
const envConfig = {
logLevel: undefined,
apiBaseUrl: undefined,