mirror of
				https://github.com/KevinMidboe/leifsbackend.git
				synced 2025-10-29 17:50:20 +00:00 
			
		
		
		
	Adventure list is now returned oldest to newest
This commit is contained in:
		| @@ -21,7 +21,7 @@ function list(req, res) { | ||||
|     .findAll({ | ||||
|       attributes: ['id', 'title', 'subtext', 'dateStart', 'dateEnd', 'locationName'], | ||||
|       order: [ | ||||
|         ['dateStart', 'DESC'], | ||||
|         ['dateStart', 'ASC'], | ||||
|       ] | ||||
|     }) | ||||
|     .then(adventure => res.status(200).send(adventure)) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user