This project is based on Mulesoft Dataweave and Salesforce to provide secure, reliable, API access for all the Scores apps and projects. It is hosted on Anypoint and acts as the transactional hub, in concert with the authentication API
Please do not merge until debug+Sandbox has been verified.
Changes Implemented:
Fix "ValidFrom" and "ValidTo": Ensure that "ValidFrom" and "ValidTo" fields are corrected, as they were previously swapped.
Move Archive Filtering: Move the filtering based on the Archive status from the server logic to the SOQL query itself.
Add Filtering Condition: Add a condition Waiver_Active_End__c >= TODAY in the SOQL query to filter out waivers that haven't met the required timelines.
Handle Missing Waivers: If no waiver is found, return a 404 HTTP status code with the message: "No current waiver found".
Fix for #298.
Please do not merge until debug+Sandbox has been verified.
Changes Implemented:
Waiver_Active_End__c >= TODAY
in the SOQL query to filter out waivers that haven't met the required timelines.Examples: