diff --git a/packages/api-gateway/src/services/agreementService.ts b/packages/api-gateway/src/services/agreementService.ts index 3ba750c73b..f195b2d2d4 100644 --- a/packages/api-gateway/src/services/agreementService.ts +++ b/packages/api-gateway/src/services/agreementService.ts @@ -102,10 +102,6 @@ export function agreementServiceBuilder( ): Promise => { logger.info(`Retrieving Purposes for Agreement ${agreementId}`); - // TODO Doubt: - // in this case we succeed even if the agreement is in draft state - this is what Scala does as well. - // Is it correct? In getAgreement and getAgreements we don't allow draft agreements to be returned. - // If we decide do the same here, we should remember to update the error mapper in the router. const agreement = await agreementProcessClient.getAgreementById({ headers, params: {