Skip to content

Commit

Permalink
fix: updated sdk to allow preview_tmpl to be nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
demeyerthom committed Apr 19, 2024
1 parent 22a4d06 commit 5fc2e2e
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .changes/unreleased/Fixed-20240419-093400.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
kind: Fixed
body: Updated sdk to allow preview_tmpl to be nullable
time: 2024-04-19T09:34:00.533488278+02:00
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ terraform-provider-storyblok*
*.backup
coverage.out
dist/
local-test
/local
/.idea
/.env
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ require (
github.com/hashicorp/terraform-plugin-docs v0.16.0
github.com/hashicorp/terraform-plugin-framework v1.3.4
github.com/hashicorp/terraform-plugin-log v0.9.0
github.com/labd/storyblok-go-sdk v0.2.0
github.com/labd/storyblok-go-sdk v0.2.1
github.com/wk8/go-ordered-map/v2 v2.1.8
)

Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,8 @@ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc=
github.com/labd/storyblok-go-sdk v0.2.0 h1:BFyzZ/jDuvni5t6DFFpUfPY3V2xn7naymQF5rOcko1s=
github.com/labd/storyblok-go-sdk v0.2.0/go.mod h1:An/VvVu6a/oAn7bgPTTUVoqeXD2Ne8QCspqpbsa9BL0=
github.com/labd/storyblok-go-sdk v0.2.1 h1:HNgg2ox3Lpg3hPI4QFaQWbw7EJ6DWi5V1ErS2NZQKzQ=
github.com/labd/storyblok-go-sdk v0.2.1/go.mod h1:An/VvVu6a/oAn7bgPTTUVoqeXD2Ne8QCspqpbsa9BL0=
github.com/labstack/echo/v4 v4.11.1 h1:dEpLU2FLg4UVmvCGPuk/APjlH6GDpbEPti61srUUUs4=
github.com/labstack/echo/v4 v4.11.1/go.mod h1:YuYRTSM3CHs2ybfrL8Px48bO6BAnYIN4l8wSTMP6BDQ=
github.com/labstack/gommon v0.4.0 h1:y7cvthEAEbU0yHOf4axH8ZG2NH8knB9iNSoTO8dyIk8=
Expand Down
1 change: 1 addition & 0 deletions internal/component_resource_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ func testComponentConfig(identifier string, spaceId int) string {
position = 3
}
}
preview_tmpl = "<div></div>"
}
`, map[string]any{
"identifier": identifier,
Expand Down

0 comments on commit 5fc2e2e

Please sign in to comment.