diff --git a/internal/httpapi/phase3.go b/internal/httpapi/phase3.go index 90c792f..4bc03ca 100644 --- a/internal/httpapi/phase3.go +++ b/internal/httpapi/phase3.go @@ -317,7 +317,7 @@ func (s *Server) CreateCheck(ctx context.Context, req gen.CreateCheckRequestObje entity, err := q.InsertEntity(ctx, sqlcgen.InsertEntityParams{ ID: id, Slug: slug, - Type: "check_def", + Type: "check", Name: slug, Attributes: []byte("{}"), })