Wubing 4 dienas atpakaļ
vecāks
revīzija
25b486315b
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      http/charge.js

+ 1 - 1
http/charge.js

@@ -817,7 +817,7 @@ proto.addUsdtAsync = P.coroutine(function* (query, method, res){var response = {
 		return this.writeOut(response, res);
 	}
 	var usdt_amount = query["usdt_amount"]
-	if (!usdt_amount || usdt_amount == 0) {
+	if (!usdt_amount) {
 		response.code = 401
 		response.message = "token invalid"
 		return this.writeOut(response, res);