Skip to content

Commit

Permalink
fix req param
Browse files Browse the repository at this point in the history
  • Loading branch information
taigrr committed Nov 17, 2023
1 parent 9cc6001 commit 3f2214f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ingredients/file/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ func (f File) PropertiesForMethod(method string) (map[string]string, error) {
case "content":
return ingredients.MethodPropsSet{
ingredients.MethodProps{Key: "name", Type: "string", IsReq: true},
ingredients.MethodProps{Key: "text", Type: "[]string", IsReq: true},
ingredients.MethodProps{Key: "text", Type: "[]string", IsReq: false},
ingredients.MethodProps{Key: "makedirs", Type: "bool", IsReq: false},
ingredients.MethodProps{Key: "source", Type: "string", IsReq: false},
ingredients.MethodProps{Key: "source_hash", Type: "string", IsReq: false},
Expand Down

0 comments on commit 3f2214f

Please sign in to comment.