Skip to content

Commit 7b09a2f

Browse files
authored
Change response from NoContent to NotFound (#36285)
1 parent 76a9515 commit 7b09a2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aspnetcore/blazor/call-web-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -951,7 +951,7 @@ app.MapPatch("/todoitems/{id}", async (long id, TodoContext db) =>
951951
return TypedResults.Ok(todo);
952952
}
953953
954-
return TypedResults.NoContent();
954+
return TypedResults.NotFound();
955955
});
956956
```
957957

0 commit comments

Comments
 (0)