Skip to content

Commit 24dc595

Browse files
committed
fix: public address
1 parent b509e32 commit 24dc595

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

backend/svc/auth.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ func (l *Auth) updateAuthMgmt(ctx context.Context, auth model.Auth) error {
7575
return err
7676
}
7777

78+
if publicAddress.Address == "" {
79+
return nil
80+
}
81+
7882
u, err := util.ParseHTTP(publicAddress.Address)
7983
if err != nil {
8084
return err

0 commit comments

Comments
 (0)