Skip to content

Commit

Permalink
WIP fix(challenge): fix hint requirements invalid default value
Browse files Browse the repository at this point in the history
  • Loading branch information
pandatix committed Mar 25, 2024
1 parent a241761 commit fa42b5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion provider/challenge/hint_subresource.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ func HintSubresourceAttributes() map[string]schema.Attribute {
"requirements": schema.ListAttribute{
MarkdownDescription: "Other hints required to be consumed before getting this one. Useful for cost-increasing hint strategies with more and more help.",
ElementType: types.StringType,
Default: listdefault.StaticValue(basetypes.ListValue{}),
Computed: true,
Optional: true,
Default: listdefault.StaticValue(basetypes.NewListNull(types.StringType)),
},
}
}
Expand Down

0 comments on commit fa42b5f

Please sign in to comment.