feature/IO-2769-Job-Totals-Testing - update end point
This commit is contained in:
@@ -27,7 +27,13 @@ const getEnvPrefix = () => {
|
|||||||
|
|
||||||
const envPrefix = 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
|
* Generates a unique S3 key for the job totals file
|
||||||
|
|||||||
Reference in New Issue
Block a user