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",
|
||||
"urls": [
|
||||
"api.frylabs.net"
|
||||
"api.frylabs.net",
|
||||
"localhost"
|
||||
]
|
||||
},
|
||||
"main": {
|
||||
|
|
|
@ -595,10 +595,10 @@ function GetApp () {
|
|||
data,
|
||||
{ motd, version },
|
||||
dryRun
|
||||
).then((res) => {
|
||||
).then((r) => {
|
||||
res.json({
|
||||
success: res !== -1,
|
||||
newQuestions: res
|
||||
success: r !== -1,
|
||||
newQuestions: r
|
||||
})
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue