Skip to content

Commit fcfc984

Browse files
committed
2 parents b74af8e + 1a8325e commit fcfc984

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AbpODataDemo.WebApi/Controllers/AbpODataEntityController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public async Task<IHttpActionResult> Put([FromODataUri] TPrimaryKey key, TEntity
9494
return BadRequest(ModelState);
9595
}
9696

97-
if (!Equals(key, update.Id))
97+
if (!key.Equals(update.Id))
9898
{
9999
return BadRequest();
100100
}

0 commit comments

Comments
 (0)