Skip to content

Commit 345e18c

Browse files
committed
add api to registrar url
1 parent 69dc109 commit 345e18c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/identity/identityd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ func (d *identityManager) Farm() (name string, err error) {
8585
}
8686

8787
env := environment.MustGet()
88-
url, err := url.JoinPath(env.RegistrarURL, "v1")
88+
url, err := url.JoinPath(env.RegistrarURL, "api", "v1")
8989
if err != nil {
9090
return "", err
9191
}

pkg/registrar_gateway/registrar_gateway.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ func NewRegistrarGateway(ctx context.Context, cl zbus.Client) (zos4Pkg.Registrar
3333
hexSeed := hex.EncodeToString(sk.Seed())
3434

3535
env := environment.MustGet()
36-
url, err := url.JoinPath(env.RegistrarURL, "v1")
36+
url, err := url.JoinPath(env.RegistrarURL, "api", "v1")
3737
if err != nil {
3838
return &registrarGateway{}, err
3939
}

0 commit comments

Comments
 (0)