Use dot notation to access object val
This commit is contained in:
parent
e7822b9e9a
commit
dafdaa7b94
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ router.all("/NowaWiadomosc.mvc/InsertWiadomosc", (req, res) => {
|
|||
"success": true,
|
||||
"data": {
|
||||
"Adresaci": data.Adresaci.map(item => {
|
||||
item["PushWiadomosc"] = false;
|
||||
item.PushWiadomosc = false;
|
||||
return item;
|
||||
}),
|
||||
"Temat": data.Temat,
|
||||
|
|
Loading…
Reference in a new issue