feature/IO-2769-Job-Totals-Testing - update end point

This commit is contained in:
Dave Richer
2025-04-08 12:19:33 -04:00
parent 3cc4f1c63e
commit c169bb5d5d

View File

@@ -27,7 +27,13 @@ const getEnvPrefix = () => {
const envPrefix = getEnvPrefix();
const S3_BUCKET_NAME = process.env?.NODE_ENV === "development" ? "imex-job-totals" : `job-totals-${envPrefix}`;
const S3_BUCKET_NAME =
process.env?.NODE_ENV === "development"
? "imex-job-totals"
: InstanceMgr({
imex: `job-totals-${envPrefix}`,
rome: `job-totals-${envPrefix}-rome`
});
/**
* Generates a unique S3 key for the job totals file