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:
@@ -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
|
||||
})
|
||||
})
|
||||
})
|
||||
|
Reference in New Issue
Block a user