♻️(api) refactor getting versions to expose pagination

Getting versions was not working properly. Some versions returned
were not accessible by the user requesting the list of available
versions.

We refactor the code to make it simpler and let the frontend handle
pagination (load more style).
This commit is contained in:
Samuel Paccoud - DINUM
2024-09-16 19:27:48 +02:00
committed by Samuel Paccoud
parent 827d8cc8e1
commit a2a184bb93
6 changed files with 269 additions and 107 deletions

View File

@@ -16,8 +16,8 @@ and this project adheres to
## Fixed
- 🐛(backend) gitlab oicd userinfo endpoint #232
- 🐛 (backend) gitlab oicd userinfo endpoint #232
- ♻️ (backend) getting list of document versions available for a user #258
## [1.4.0] - 2024-09-17