Wubing пре 1 дан
родитељ
комит
bc8e415bcd
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      http/charge.js

+ 2 - 2
http/charge.js

@@ -841,8 +841,8 @@ proto.addUsdtAsync = P.coroutine(function* (query, method, res){var response = {
 		return this.writeOut(response, res);
 	}
 	var winloseStr = query["winlose"]
-	if (!winlose) {
-		console.warn("845:",winlose)
+	if (!winloseStr) {
+		console.warn("845:",winloseStr)
 		response.code = 401
 		response.message = "winlose invalid"
 		return this.writeOut(response, res);