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:
parent
b13a3fefd3
commit
a88c72d0b2
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ export default fp(
|
|||
const { config } = opts;
|
||||
const storage: Storage = new Storage(config);
|
||||
// @ts-ignore
|
||||
await storage.init(config, {});
|
||||
await storage.init(config, []);
|
||||
fastify.decorate('storage', storage);
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue