Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
}
private buildResponsePayload(uuid: string): ResponsePayload {
- const responsesStatus = this.responses
- .get(uuid)
- ?.responses.every(({ status }) => status === ResponseStatus.SUCCESS)
- ? ResponseStatus.SUCCESS
- : ResponseStatus.FAILURE;
+ const responsesStatus =
+ this.responses
+ .get(uuid)
+ ?.responses.every(({ status }) => status === ResponseStatus.SUCCESS) === true
+ ? ResponseStatus.SUCCESS
+ : ResponseStatus.FAILURE;
return {
status: responsesStatus,
hashIdsSucceeded: this.responses