New
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user