Skip to content

Commit 28b1217

Browse files
[BKNDLSS-19215]: minor
1 parent 1a2839d commit 28b1217

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/com/backendless/transaction/UnitOfWorkUpdateImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public OpResult update( String tableName, Map<String, Object> objectMap )
4949
@Override
5050
public OpResult update( String tableName, OpResult objectMap )
5151
{
52-
if( OperationType.CREATE.equals( objectMap.getOperationType() ) )
52+
if( !OperationType.CREATE.equals( objectMap.getOperationType() ) )
5353
throw new IllegalArgumentException( ExceptionMessage.REF_TYPE_NOT_SUPPORT );
5454

5555
String operationResultId = OperationType.UPDATE + "_" + countUpdate.getAndIncrement();

0 commit comments

Comments
 (0)