Fixed res variable in isAdding

This commit is contained in:
mrfry 2020-09-17 13:11:56 +02:00
parent 6ea0263b02
commit c1484fb960
2 changed files with 5 additions and 4 deletions

View file

@ -30,7 +30,8 @@
],
"name": "api",
"urls": [
"api.frylabs.net"
"api.frylabs.net",
"localhost"
]
},
"main": {

View file

@ -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
})
})
})