mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Returning todos on update
This commit is contained in:
parent
68b0dd30aa
commit
86f1fff804
1 changed files with 2 additions and 0 deletions
|
@ -243,6 +243,8 @@ function GetApp() {
|
||||||
|
|
||||||
utils.WriteFile(JSON.stringify(todos, null, 2), todosFile)
|
utils.WriteFile(JSON.stringify(todos, null, 2), todosFile)
|
||||||
res.json({
|
res.json({
|
||||||
|
todos: todos,
|
||||||
|
userId: userId,
|
||||||
msg: 'updated',
|
msg: 'updated',
|
||||||
result: 'ok',
|
result: 'ok',
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue