Skip to content

Commit 57495ad

Browse files
author
Daniele Fedeli
committed
Better formatting of index.js
1 parent 0bc7b4f commit 57495ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
'use strict'
22

33
const fp = require('fastify-plugin')
4-
54
const defaultPayload = { error: 'Method not allowed' }
5+
66
async function fastifyGetOnly (
77
fastify,
88
{ httpStatusCode = 405, errorPayload = defaultPayload }

0 commit comments

Comments
 (0)