File tree 1 file changed +3
-0
lines changed
1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -100,6 +100,7 @@ func convertAssetTemplateToAssetType(template assetTemplate) api.AssetType {
100
100
101
101
attribute := api.AssetTypeAttribute {
102
102
Name : attributeName ,
103
+ Enable : api .PtrBool (true ),
103
104
Subtype : subtype ,
104
105
Min : min ,
105
106
Max : max ,
@@ -154,6 +155,7 @@ func convertAssetTemplateToAssetType(template assetTemplate) api.AssetType {
154
155
}
155
156
attribute := api.AssetTypeAttribute {
156
157
Name : attributeName ,
158
+ Enable : api .PtrBool (true ),
157
159
Subtype : subtype ,
158
160
Min : min ,
159
161
Max : max ,
@@ -177,6 +179,7 @@ func convertAssetTemplateToAssetType(template assetTemplate) api.AssetType {
177
179
apiAsset .Attributes = append (apiAsset .Attributes , api.AssetTypeAttribute {
178
180
Name : masterPropertyAttribute ,
179
181
Subtype : api .SUBTYPE_PROPERTY ,
182
+ Enable : api .PtrBool (true ),
180
183
IsDigital : * api .NewNullableBool (api .PtrBool (true )),
181
184
Map : []map [string ]any {
182
185
{
You can’t perform that action at this time.
0 commit comments