debug yay
This commit is contained in:
parent
37ee7ed044
commit
6536bf72e0
|
@ -12,7 +12,7 @@ module.exports = (lib) => {
|
||||||
if(Number.isInteger(parseInt(id))) {
|
if(Number.isInteger(parseInt(id))) {
|
||||||
lib.sql.query("select `dest` from `f0ck`.`items` where `id` = ? limit 1", id, (err, rows) => {
|
lib.sql.query("select `dest` from `f0ck`.`items` where `id` = ? limit 1", id, (err, rows) => {
|
||||||
if(rows[0]) {
|
if(rows[0]) {
|
||||||
var filename = __dirname + rows[0].dest;
|
var filename = __dirname + "/../../" + rows[0].dest;
|
||||||
nudity.scanFile(filename, (err, result) => {
|
nudity.scanFile(filename, (err, result) => {
|
||||||
e.reply(err);
|
e.reply(err);
|
||||||
e.reply(result);
|
e.reply(result);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user