Crown-Commercial-Service / digitalmarketplace-admin-frontend

Frontend administration application for the digital marketplace
MIT License
5 stars 15 forks source link

Update report path to match what router expects #870

Closed bjgill closed 2 years ago

bjgill commented 2 years ago

https://trello.com/c/F0h3RRkV/2494-send-ccs-list-of-approved-service-edits-for-month-past

This endpoint is not currently working in preview. I think that may be because the current report path doesn't match the regex in router (^/[^/]+/reports/.* - https://github.com/Crown-Commercial-Service/digitalmarketplace-router/blob/main/templates/assets.j2). Try adding 'common' to the path (where other reports have a framework slug) to see if that fixes things.

Follow-on from https://github.com/Crown-Commercial-Service/digitalmarketplace-admin-frontend/pull/867