fixes oldest and newest
This commit is contained in:
		@@ -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');
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user