From 45a35eb5f95ab0f12705c56398d41183d0ffdc9a Mon Sep 17 00:00:00 2001 From: Flummi Date: Sat, 26 May 2018 16:03:10 +0200 Subject: [PATCH] +dest --- src/websrv.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/websrv.js b/src/websrv.js index c7903e1..4dfefca 100644 --- a/src/websrv.js +++ b/src/websrv.js @@ -329,7 +329,7 @@ function Websrv(tlib) { if(query.length === 0) return res.end('type not found', 'utf-8'); - lib.sql.query("select `id`, `mime`, `size`, `username`, `userchannel`, `usernetwork`, `stamp` from `f0ck`.`items` " + query, (err, rows, fields) => { + lib.sql.query("select `id`, `mime`, `size`, `username`, `userchannel`, `usernetwork`, `stamp`, `dest` from `f0ck`.`items` " + query, (err, rows, fields) => { if(err || rows.length === 0) return res.end('no results', 'utf-8'); res.end(JSON.stringify( rows[0] ), 'utf-8');