From 3f2214f5b7c5940ada29b4f2b65b5cd39514253d Mon Sep 17 00:00:00 2001 From: Tai Groot Date: Fri, 17 Nov 2023 14:05:03 -0800 Subject: [PATCH] fix req param --- ingredients/file/file.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ingredients/file/file.go b/ingredients/file/file.go index 10495e0..16587d7 100644 --- a/ingredients/file/file.go +++ b/ingredients/file/file.go @@ -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},