Details
-
Story
-
Status: Closed
-
Medium
-
Resolution: Done
-
None
-
None
Description
Issue:
{ "code": 409, "status": "GENERIC_FAILURE", "timestamp": "2022-06-17T14:29:49.888Z", "message": "query did not return a unique result: 2; nested exception is javax.persistence.NonUniqueResultException: query did not return a unique result: 2", "debugMessage": "", "logLevel": "ERROR", "subErrors": [] }
As a developer, I want to be able to fetch the latest value form the endpoint (http://CDS_HOST:CDS_PORT/api/v1/template?) for template
We need to fix it so it returns only one but the latest one