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", "name": "api",
"urls": [ "urls": [
"api.frylabs.net" "api.frylabs.net",
"localhost"
] ]
}, },
"main": { "main": {

View file

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