Skip to content

Commit

Permalink
Fix accidentally deleted route
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidNix committed Nov 14, 2023
1 parent 64a63a4 commit c37f43e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@ func addRoutes(app *echo.Echo, client *ent.Client) {
return c.String(http.StatusOK, "Hello, World 👋!")
})

app.GET("/users", userIndexHandler(client))
app.POST("/users", userCreateHandler(client))
}

0 comments on commit c37f43e

Please sign in to comment.