From fb343553b3d966bc2d7419c09a31394947154f67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Macedo?= Date: Tue, 24 Jan 2023 13:10:17 -0300 Subject: [PATCH] :bug: Fix typo on switch --- assets/dynamicAssetTypeFuncs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/dynamicAssetTypeFuncs.go b/assets/dynamicAssetTypeFuncs.go index 42a1a26..9ee4678 100644 --- a/assets/dynamicAssetTypeFuncs.go +++ b/assets/dynamicAssetTypeFuncs.go @@ -127,7 +127,7 @@ func HandlePropUpdate(assetProps AssetProp, propMap map[string]interface{}) (Ass return assetProps, errors.WrapError(err, "invalid readOnly value") } assetProps.ReadOnly = readOnlyValue.(bool) - case "writeres": + case "writers": writers := make([]string, 0) writersArr, ok := v.([]interface{}) if ok {