mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-21 09:03:02 +00:00
fix: replace isProductiveEnvironment with isTestEnvironment
This commit is contained in:
committed by
Rainer Killinger
parent
2f13010480
commit
8c48552abf
@@ -97,7 +97,7 @@ export function createRoute<RETURNTYPE>(
|
||||
if (responseErrors.length > 0) {
|
||||
const validationError = new SCValidationErrorResponse(
|
||||
responseErrors,
|
||||
req.app.get('isProductiveEnvironment'),
|
||||
req.app.get('isTestEnvironment'),
|
||||
);
|
||||
const internalServerError = new SCInternalServerErrorResponse(
|
||||
validationError,
|
||||
|
||||
Reference in New Issue
Block a user