mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Fixed res variable in isAdding
This commit is contained in:
parent
6ea0263b02
commit
c1484fb960
2 changed files with 5 additions and 4 deletions
|
@ -30,7 +30,8 @@
|
||||||
],
|
],
|
||||||
"name": "api",
|
"name": "api",
|
||||||
"urls": [
|
"urls": [
|
||||||
"api.frylabs.net"
|
"api.frylabs.net",
|
||||||
|
"localhost"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"main": {
|
"main": {
|
||||||
|
|
|
@ -595,10 +595,10 @@ function GetApp () {
|
||||||
data,
|
data,
|
||||||
{ motd, version },
|
{ motd, version },
|
||||||
dryRun
|
dryRun
|
||||||
).then((res) => {
|
).then((r) => {
|
||||||
res.json({
|
res.json({
|
||||||
success: res !== -1,
|
success: r !== -1,
|
||||||
newQuestions: res
|
newQuestions: r
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue