Changed object property order (just for us pesky humans to improve readability)

This commit is contained in:
Nicolai Ort 2021-08-21 09:59:57 +02:00
parent bb99c2dcd1
commit c2a50a1480
Signed by: niggl
GPG Key ID: 13AFA55AF62F269F
1 changed files with 1 additions and 1 deletions

View File

@ -285,7 +285,7 @@ fastify.after(() => {
//Get all visits api route
fastify.get('/api/visits', { onRequest: fastify.auth([fastify.basicAuth, fastify.verifyJWT]) }, async (req, res) => {
const visits = await knex.select('shortcode','timestamp', 'provider')
const visits = await knex.select('shortcode', 'provider', 'timestamp')
.from('visits');
return visits;