0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-16 21:56:25 -05:00

fix initialization storage on fastify (#2654)

This commit is contained in:
Diana Morales 2021-11-09 22:16:47 +01:00 committed by GitHub
parent b13a3fefd3
commit a88c72d0b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,7 +9,7 @@ export default fp(
const { config } = opts; const { config } = opts;
const storage: Storage = new Storage(config); const storage: Storage = new Storage(config);
// @ts-ignore // @ts-ignore
await storage.init(config, {}); await storage.init(config, []);
fastify.decorate('storage', storage); fastify.decorate('storage', storage);
}, },
{ {