Skip to content

Commit b8e657c

Browse files
authored
refactor(plugin): prefix unused param with underscore (#161)
Signed-off-by: Frazer Smith <[email protected]>
1 parent a648a7f commit b8e657c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
const fp = require('fastify-plugin')
44
const { parse } = require('fast-uri')
55

6-
function fastifyUrlData (fastify, options, next) {
6+
function fastifyUrlData (fastify, _options, next) {
77
fastify.decorateRequest('urlData', function (key) {
88
const scheme = this.headers[':scheme'] ? this.headers[':scheme'] : this.protocol
99
const host = this.hostname

0 commit comments

Comments
 (0)