diff --git a/packages/onlyoffice/handler.ts b/packages/onlyoffice/handler.ts index 8764d169e..c751e5daa 100644 --- a/packages/onlyoffice/handler.ts +++ b/packages/onlyoffice/handler.ts @@ -3,7 +3,7 @@ import * as system from 'hydrooj/src/model/system'; declare module 'hydrooj/src/service/server' { interface UiContextBase { - onlyofficeApi: string; + onlyofficeApi?: string; } } UiContextBase.onlyofficeApi = system.get('onlyoffice.api');