1
0
Fork 0
mirror of https://gitlab.com/Alamantus/Readlebee.git synced 2025-07-07 08:34:17 +02:00

Allow fastify.i18n to be used outside of i18n routes

This commit is contained in:
Robbie Antenesse 2020-09-20 16:42:33 -06:00
parent fc643c6388
commit 2cfa08abe3

View file

@ -47,4 +47,4 @@ async function plugin (fastify, opts, done) {
done(); done();
} }
module.exports = plugin; module.exports = fp(plugin);