Skip to content

Commit 5de4f33

Browse files
committed
fix: add session route method
1 parent 24ad425 commit 5de4f33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/session/routes.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ import (
77
)
88

99
func RegisterRoutes(ctx *context.Context, r gin.IRouter) {
10-
r.GET("/sessions/:id", HandlerAddSession(ctx))
10+
r.POST("/sessions/:id", HandlerAddSession(ctx))
1111
}

0 commit comments

Comments
 (0)