+dest
This commit is contained in:
parent
8f709d197e
commit
45a35eb5f9
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue
Block a user