mirror of
https://github.com/hatchet-dev/hatchet.git
synced 2026-01-06 08:49:53 -06:00
fix seed default tenant slug (#2315)
This commit is contained in:
@@ -46,7 +46,7 @@ func SeedDatabase(dc *database.Layer) error {
|
||||
userID = sqlchelpers.UUIDToStr(user.ID)
|
||||
}
|
||||
|
||||
_, err := dc.APIRepository.Tenant().GetTenantBySlug(context.Background(), "default")
|
||||
_, err := dc.APIRepository.Tenant().GetTenantBySlug(context.Background(), dc.Seed.DefaultTenantSlug)
|
||||
|
||||
if err != nil {
|
||||
if errors.Is(err, pgx.ErrNoRows) {
|
||||
|
||||
Reference in New Issue
Block a user