From 5b9bbe421c5851f9eaa3c9029b044596038875a7 Mon Sep 17 00:00:00 2001 From: omerma Date: Thu, 7 Nov 2024 13:28:13 +0200 Subject: [PATCH] check tests --- internal/resources/web-api-practice/read.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/resources/web-api-practice/read.go b/internal/resources/web-api-practice/read.go index ed3aa40..c0ab112 100644 --- a/internal/resources/web-api-practice/read.go +++ b/internal/resources/web-api-practice/read.go @@ -88,7 +88,7 @@ func ReadWebAPIPracticeToResourceData(practice models.WebAPIPractice, d *schema. return fmt.Errorf("failed to convert FileSchema struct to map. Error: %w", err) } - d.Set("schema_validation", schemaValidationMap) + d.Set("schema_validation", []map[string]any{schemaValidationMap}) return nil }