fix order
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Timo Hocker 2020-08-23 18:35:43 +02:00
parent ade5b933d8
commit 62bcac28dd

View File

@ -18,7 +18,7 @@ module.exports = (get_db) => ({
)
.from ('log')
.where ({ app_id })
.orderBy ('timestamp')
.orderBy ({ column: 'timestamp', order: 'desc' })
.limit (Math.min (limit, 10000))
.offset (offset);
},