enzostvs's picture
enzostvs HF staff
run prettier
5a8d324
raw
history blame contribute delete
284 Bytes
"use strict";
const fp = require("fastify-plugin");
// the use of fastify-plugin is required to be able
// to export the decorators to the outer scope
module.exports = fp(async function (fastify, opts) {
fastify.decorate("someSupport", function () {
return "hugs";
});
});