mirror of
https://github.com/R0m1k3/xtremflow.git
synced 2026-10-11 17:30:00 +02:00
fix(backend): move GET /recordings/logs/<id> to main router to avoid shelf_router collision with DELETE /<id>
This commit is contained in:
1 parent
989303db77
commit
d91be43f27
2 files changed
+42
-26
No files matched your search
+3
-1
@@ -116,7 +116,9 @@ void main(List<String> args) async {
|
||||
.addMiddleware(authMiddleware(db))
|
||||
.addHandler(settingsHandler.router.call),
|
||||
)
|
||||
// TV Recordings endpoints
|
||||
// TV Recordings - Route des logs AVANT le mount general (évite collision shelf_router avec /<id>)
|
||||
..get('/api/recordings/logs/<id>', recordingsApi.getLogHandler)
|
||||
// TV Recordings endpoints (GET /, POST /, DELETE /<id>)
|
||||
..mount(
|
||||
'/api/recordings',
|
||||
const Pipeline()
|
||||
|
||||
Reference in new issue
Block a user