Skip to content

Commit 8b66ea5

Browse files
committed
fix: update route
1 parent 914263a commit 8b66ea5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ func Init() (app *gin.Engine) {
3939

4040
// app.Get("/floors/:id<int>/special", GetSpecialFloor)
4141
// Define a route with an integer ID parameter and an empty path (might be a subgroup)
42-
app.GET("/floors/:id/special", ListFloorsInASpecialHole)
42+
app.GET("/api/floors/:holeID/_special", ListFloorsInASpecialHole)
4343
return app
4444
}
4545

0 commit comments

Comments
 (0)