committed by
mikereiche
parent
89e9b90dda
commit
e36834baa3
@@ -157,7 +157,7 @@ public class ReactiveRemoveByIdOperationSupport implements ReactiveRemoveByIdOpe
|
||||
public Mono<RemoveResult> oneEntity(Object entity) {
|
||||
ReactiveRemoveByIdSupport op = new ReactiveRemoveByIdSupport(template, domainType, scope, collection, options,
|
||||
persistTo, replicateTo, durabilityLevel, template.support().getCas(entity));
|
||||
return op.one(template.support().getId(entity).toString());
|
||||
return op.withCas(template.support().getCas(entity)).one(template.support().getId(entity).toString());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user