From fd4105e9131a62103d85b2d8f71cbab501f0eae6 Mon Sep 17 00:00:00 2001 From: Varun Patil Date: Fri, 28 Oct 2022 19:36:01 -0700 Subject: [PATCH] Fix build --- src/main.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index a73dd38d..6bdab668 100644 --- a/src/main.ts +++ b/src/main.ts @@ -51,7 +51,11 @@ window.addEventListener("DOMContentLoaded", () => { // register unused client for the sidebar to have access to its parser methods Object.assign( globalThis.OCA.Files, - { App: { fileList: { filesClient: globalThis.OC.Files.getClient() } } }, + { + App: { + fileList: { filesClient: (globalThis.OC.Files).getClient() }, + }, + }, globalThis.OCA.Files ); });