fixes oldest and newest
This commit is contained in:
parent
ede0e97cf7
commit
1c33b16c9b
|
@ -269,7 +269,7 @@ http.createServer((req, res) => {
|
|||
if(rows[3].length)
|
||||
data.first = rows[3][0].id;
|
||||
if(rows[4].length)
|
||||
data.first = rows[4][0].id;
|
||||
data.last = rows[4][0].id;
|
||||
}
|
||||
res.writeHead(200, { 'Content-Type': 'text/html' });
|
||||
res.end(tpl(data), 'utf-8');
|
||||
|
|
Loading…
Reference in New Issue
Block a user