Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 96ff616

Browse files
committed
Merge branch 'v5.0' into v6.0
2 parents 4604c7d + b3fc1fe commit 96ff616

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

‎api/ToDoHandlerEFCore.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -168,9 +168,8 @@ public async Task<IActionResult> Patch(
168168
var targetTodo = this._todoContext.Todos.Where(t => t.Owner == cp.UserId).FirstOrDefault(t => t.Id == id);
169169
if (targetTodo == null)
170170
return new NotFoundResult();
171-
172-
//targetTodo.Id = newTodo.Id;
173-
targetTodo.Title = newTodo.Title;
171+
172+
targetTodo.Title = newTodo.Title ?? targetTodo.Title;
174173
targetTodo.Completed = newTodo.Completed;
175174

176175
await this._todoContext.SaveChangesAsync();

‎cleanup.v6.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@ rm -rf ./client/dist
1313
rm ./client/index.html
1414

1515
# cleanup DATABASE
16-
rm -rf ./database/deploy
16+
rm -rf ./database/declarative-deploy
17+
rm -rf ./database/imperative-deploy
18+
rm -rf ./database/deploy/bin
19+
rm -rf ./database/deploy/obj
1720

1821
# cleanup TEST
1922
rm -rf ./test

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /