Changed object property order (just for us pesky humans to improve readability)
This commit is contained in:
parent
bb99c2dcd1
commit
c2a50a1480
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue