Skip to content

Commit

Permalink
chore: remove unnecessary checking
Browse files Browse the repository at this point in the history
  • Loading branch information
martinsaporiti committed Jun 27, 2024
1 parent 7e67052 commit ca20342
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions cmd/pending_publisher/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func main() {

log.Config(cfg.Log.Level, cfg.Log.Mode, os.Stdout)

if err := cfg.SanitizeAPIUI(ctx); err != nil {
if err := cfg.Sanitize(ctx); err != nil {
log.Error(ctx, "there are errors in the configuration that prevent server to start", "err", err)
return
}
Expand Down Expand Up @@ -126,12 +126,6 @@ func main() {
panic(err)
}

err = config.CheckDID(ctx, cfg, vaultCli)
if err != nil {
log.Error(ctx, "cannot initialize did", "err", err)
return
}

identityRepo := repositories.NewIdentity()
claimsRepo := repositories.NewClaims()
mtRepo := repositories.NewIdentityMerkleTreeRepository()
Expand Down

0 comments on commit ca20342

Please sign in to comment.