We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
最后这个 callback 貌似不会被调用
var query = {}; if (req.query.limit) query.limit = req.query.limit; if (req.query.created_gte) query.created = {gte: Math.round(app_util.parseDate(req.query.created_gte).getTime() / 1000)}; if (req.query.created_lte) { if (query.created) query.created.lte = Math.round(app_util.parseDate(req.query.created_lte).getTime() / 1000); else query.created = {lte: Math.round(app_util.parseDate(req.query.created_lte).getTime() / 1000)}; } if (req.query.channel) query.channel = req.query.channel; query.paid = req.query.paid || true; query.refunded = req.query.refunded || false; pingpp.charges.list(query, function (err, charges) { if (!err) res.json(charges); else res.json({success: false, reason: err}); });
The text was updated successfully, but these errors were encountered:
No branches or pull requests
最后这个 callback 貌似不会被调用
The text was updated successfully, but these errors were encountered: