checks querydata
This commit is contained in:
parent
3a06914cc2
commit
efcfc13546
@ -472,7 +472,7 @@ var Profiler = require('../profiler');
|
||||
torque.net.jsonp(url, function (data) {
|
||||
var query = format("select * from ({sql}) __torque_wrap_sql limit 0", { sql: self.getSQL() });
|
||||
self.sql(query, function (queryData) {
|
||||
if (data) {
|
||||
if (data && queryData) {
|
||||
callback({
|
||||
updated_at: data.last_updated,
|
||||
fields: queryData.fields
|
||||
|
Loading…
Reference in New Issue
Block a user