Skip to content

Commit d18ab39

Browse files
authored
Merge pull request #3014 from lxhelmer/patch-8
Update osa4c.md
2 parents 9ef6268 + 312d780 commit d18ab39

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/content/4/fi/osa4c.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -440,6 +440,7 @@ notesRouter.post('/', async (request, response) => {
440440
```
441441

442442
Huomionarvoista on nyt se, että myös <i>user</i>-olio muuttuu. Sen kenttään <i>notes</i> talletetaan luodun muistiinpanon <i>id</i>:
443+
Koska tieto tallennetaan <i>user</i>-olioon tulee muistiinpanoa poistettaessa tieto poistaa myös <i>user</i>-olion listalta.
443444

444445
```js
445446
const user = User.findById(body.userId)

0 commit comments

Comments
 (0)