0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-03 17:02:40 +00:00

change api route to avoid collision

This commit is contained in:
Víctor Losada Hernández
2025-05-13 08:23:23 +02:00
parent 60714fbf58
commit c51e8fd9d1
2 changed files with 2 additions and 2 deletions

View File

@@ -507,7 +507,7 @@ router.post('/api', checkClientVersion, asyncHandler(api.newBrew));
router.put('/api/:id', checkClientVersion, asyncHandler(api.getBrew('edit', true)), asyncHandler(api.updateBrew));
router.put('/api/update/:id', checkClientVersion, asyncHandler(api.getBrew('edit', true)), asyncHandler(api.updateBrew));
router.delete('/api/:id', checkClientVersion, asyncHandler(api.deleteBrew));
router.put('/api/:id/:author', checkClientVersion, asyncHandler(api.deleteAuthor));
router.put('/api/prune/:id/:author', checkClientVersion, asyncHandler(api.deleteAuthor));
router.get('/api/remove/:id', checkClientVersion, asyncHandler(api.deleteBrew));
router.get('/api/theme/:renderer/:id', asyncHandler(api.getThemeBundle));