From a88c72d0b21d3b248ced47c192653040a487cd98 Mon Sep 17 00:00:00 2001 From: Diana Morales Date: Tue, 9 Nov 2021 22:16:47 +0100 Subject: [PATCH] fix initialization storage on fastify (#2654) --- packages/core/server/src/plugins/storage.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/server/src/plugins/storage.ts b/packages/core/server/src/plugins/storage.ts index 92355c6c4..2b14be0c8 100644 --- a/packages/core/server/src/plugins/storage.ts +++ b/packages/core/server/src/plugins/storage.ts @@ -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); }, {