JWT key issue fix
All checks were successful
Automated Container Build / build-and-push (push) Successful in 1m24s

This commit is contained in:
Elijah 2026-05-24 11:26:55 -07:00
parent e1fdbd9388
commit 07aad3b8d4
5 changed files with 103 additions and 40 deletions

View file

@ -471,9 +471,17 @@ class ApiClient {
// --- OnlyOffice ---
async createOnlyOfficeFile(type: 'word' | 'slide') {
const res = await this.request('/api/onlyoffice/create', {
const res = await this.request('/onlyoffice/create', {
method: 'POST',
body: { type },
body: JSON.stringify({ type })
});
return res.json();
}
async signOnlyOfficeConfig(config: any) {
const res = await this.request('/onlyoffice/sign', {
method: 'POST',
body: JSON.stringify(config)
});
return res.json();
}