From b8cb49c1cb065391b7b853384aae0fa3abafa605 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Tue, 26 Nov 2024 16:13:20 -0800 Subject: [PATCH] where is v1 --- pkg/cmds/serve.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cmds/serve.go b/pkg/cmds/serve.go index 9eeff59..34ac302 100644 --- a/pkg/cmds/serve.go +++ b/pkg/cmds/serve.go @@ -68,7 +68,7 @@ func serve(ctx *cli.Context) error { log.WithError(err).Fatal("failed to connect database") } - srv, err := api.NewServer(&service.Service{DB: db}, api.WithPathPrefix("/v2")) + srv, err := api.NewServer(&service.Service{DB: db}, api.WithPathPrefix("/v1")) if err != nil { log.WithError(err).Fatal("failed to initialize api server") }