fix: replace isProductiveEnvironment with isTestEnvironment

This commit is contained in:
Wieland Schöbl
2019-03-15 13:24:08 +01:00
committed by Rainer Killinger
parent 2f13010480
commit 8c48552abf
2 changed files with 2 additions and 2 deletions

View File

@@ -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,