We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 538d985 commit c881d99Copy full SHA for c881d99
app/controllers/app.js
@@ -51,7 +51,7 @@ function handleQuery(req, res) {
51
52
// sanitize and apply defaults to input
53
dp = (dp === "" || _.isUndefined(dp)) ? '6' : dp;
54
- format = (format === "" || _.isUndefined(format)) ? null : format;
+ format = (format === "" || _.isUndefined(format)) ? null : format.toLowerCase();
55
sql = (sql === "" || _.isUndefined(sql)) ? null : sql;
56
database = (database === "" || _.isUndefined(database)) ? null : database;
57
limit = (_.isNumber(limit)) ? limit : null;
0 commit comments