mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +08:00
onlyoffice: mark api as optional
This commit is contained in:
1 parent
68f5977e36
commit
53e33edef7
1 file changed
+1
-1
@@ -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');
|
||||
Reference in new issue
Block a user