Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/main/environment/common_ci.properties
Original file line number Diff line number Diff line change
Expand Up @@ -192,3 +192,4 @@ cors.allowed-origins=@env.CORS_ALLOWED_ORIGINS@
video-call-url=@env.VIDEO_CALL_URL@
jibri.output.path=@env.JIBRI_OUTPUT_PATH@
video.recording.path=@env.VIDEO_RECORDING_PATH@
generateBeneficiaryIDs-api-url=@env.GEN_BENEFICIARY_IDS_API_URL@
2 changes: 1 addition & 1 deletion src/main/environment/common_docker.properties
Original file line number Diff line number Diff line change
Expand Up @@ -195,4 +195,4 @@ firebase.credential-file=${FIREBASE_CREDENTIAL}
video-call-url=${VIDEO_CALL_URL}
jibri.output.path={JIBRI_OUTPUT_PATH}
video.recording.path={VIDEO_RECORDING_PATH}

generateBeneficiaryIDs-api-url={GEN_BENEFICIARY_IDS_API_URL}
2 changes: 2 additions & 0 deletions src/main/environment/common_example.properties
Original file line number Diff line number Diff line change
Expand Up @@ -208,3 +208,5 @@ captcha.enable-captcha=true

cors.allowed-origins=http://localhost:*

### generate Beneficiary IDs URL
generateBeneficiaryIDs-api-url=/generateBeneficiaryController/generateBeneficiaryIDs
Original file line number Diff line number Diff line change
Expand Up @@ -344,9 +344,10 @@ public String logOutUserFromConcurrentSession(
deleteSessionObjectByGettingSessionDetails(previousTokenFromRedis);
sessionObject.deleteSessionObject(previousTokenFromRedis);
response.setResponse("User successfully logged out");
} else
} else{
logger.error("Unable to fetch session from redis");
throw new IEMRException("Session error. Please try again later");
}
}
} else {
throw new IEMRException("Invalid request object");
Expand Down