Build failure fixes
All checks were successful
Automated Container Build / build-and-push (push) Successful in 1m21s

This commit is contained in:
Elijah 2026-05-24 10:51:19 -07:00
parent d80e31e7f5
commit 6a754808b5
3 changed files with 16 additions and 6 deletions

View file

@ -468,6 +468,15 @@ class ApiClient {
}
return url;
}
// --- OnlyOffice ---
async createOnlyOfficeFile(type: 'word' | 'slide') {
const res = await this.request('/api/onlyoffice/create', {
method: 'POST',
body: { type },
});
return res.json();
}
}
export const api = new ApiClient();