1
0
forked from baron/baron-sso

린트 적용

This commit is contained in:
2026-02-23 12:54:21 +09:00
parent c6470d3bae
commit 7d57e5844f
11 changed files with 32 additions and 32 deletions

View File

@@ -59,8 +59,8 @@ func SeedTenants(db *gorm.DB) error {
}
slog.Info("[Bootstrap] Creating default tenant", "name", config.Name, "slug", config.Slug)
tenant, err := svc.RegisterTenant(ctx, config.Name, config.Slug, config.Description, config.Domains, nil)
if err != nil {
tenant, err := svc.RegisterTenant(ctx, config.Name, config.Slug, config.Description, config.Domains, nil)
if err != nil {
slog.Error("Failed to seed tenant", "slug", config.Slug, "error", err)
return err
}