mirror of
https://git.rwth-aachen.de/acs/public/villas/web-backend-go/
synced 2025-03-30 00:00:12 +01:00
fix typo in registration of user endpoints
This commit is contained in:
parent
54b4a5d7b1
commit
e9ed836ba3
1 changed files with 3 additions and 3 deletions
|
@ -41,10 +41,10 @@ func VisitorAuthenticate(r *gin.RouterGroup) {
|
|||
|
||||
func RegisterUserEndpoints(r *gin.RouterGroup) {
|
||||
r.POST("", addUser)
|
||||
r.PUT("/:UserID", updateUser)
|
||||
r.PUT("/:userID", updateUser)
|
||||
r.GET("", getUsers)
|
||||
r.GET("/:UserID", getUser)
|
||||
r.DELETE("/:UserID", deleteUser)
|
||||
r.GET("/:userID", getUser)
|
||||
r.DELETE("/:userID", deleteUser)
|
||||
}
|
||||
|
||||
// authenticate godoc
|
||||
|
|
Loading…
Add table
Reference in a new issue