Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hengfeiyang committed May 17, 2022
1 parent 80638ab commit 1b734ee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cmd/zinc/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
"github.com/rs/zerolog/log"

"github.com/zinclabs/zinc/pkg/core"
v1 "github.com/zinclabs/zinc/pkg/meta/v1"
"github.com/zinclabs/zinc/pkg/meta"
"github.com/zinclabs/zinc/pkg/routes"
"github.com/zinclabs/zinc/pkg/zutils"
)
Expand All @@ -39,7 +39,7 @@ func main() {
/******** initialize sentry **********/
err := sentry.Init(sentry.ClientOptions{
Dsn: "https://15b6d9b8be824b44896f32b0234c32b7@o1218932.ingest.sentry.io/6360942",
Release: "zinc@" + v1.Version,
Release: "zinc@" + meta.Version,
})
if err != nil {
log.Print("sentry.Init: ", err.Error())
Expand Down
2 changes: 1 addition & 1 deletion web/src/services/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import http from "./http";

var user = {
list: () => {
return http().get("/api/users");
return http().get("/api/user");
},
update: (data) => {
return http().put("/api/user", data);
Expand Down

0 comments on commit 1b734ee

Please sign in to comment.