Merge pull request 'fix: ajouter route /nothing/ au ui' (#7) from vlbeaudoin/fix/add-route-get-nothing into main
Reviewed-on: #7
This commit is contained in:
commit
636f255e89
1 changed files with 2 additions and 0 deletions
|
@ -5,6 +5,7 @@ import (
|
|||
"crypto/subtle"
|
||||
"fmt"
|
||||
"log"
|
||||
"net/http"
|
||||
|
||||
"git.agecem.com/bottin/agendas/ui"
|
||||
"git.agecem.com/bottin/bottin/v10/pkg/bottin"
|
||||
|
@ -63,6 +64,7 @@ func RunServer(ctx context.Context, cfg Config, bottinClient *bottin.APIClient,
|
|||
)
|
||||
|
||||
e.GET("/", UIIndex(ctx, bottinClient, dbClient))
|
||||
e.GET("/nothing/", func(c echo.Context) error { return c.NoContent(http.StatusOK) })
|
||||
//e.GET("/transaction/", UIReadTransaction
|
||||
e.POST("/transaction/", UICreateTransaction(ctx, cfg, bottinClient, dbClient))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue