This commit is contained in:
mr
2026-03-04 13:51:43 +01:00
parent 5d18512f67
commit 2bfcfb5736
8 changed files with 16 additions and 16 deletions

View File

@@ -59,7 +59,7 @@ func (dca *ResourceMongoAccessor[T]) UpdateOne(set map[string]interface{}, id st
if dca.GetType() == tools.COMPUTE_RESOURCE {
return nil, 404, errors.New("can't update a non existing computing units resource not reported onto compute units catalog")
}
return utils.GenericUpdateOne(set, id, dca, dca.generateData())
return utils.GenericUpdateOne(set, id, dca)
}
func (dca *ResourceMongoAccessor[T]) ShouldVerifyAuth() bool {