Fix callback URL rewrite
All checks were successful
Automated Container Build / build-and-push (push) Successful in 1m28s
All checks were successful
Automated Container Build / build-and-push (push) Successful in 1m28s
This commit is contained in:
parent
360cb5275a
commit
3e19cae267
2 changed files with 11 additions and 3 deletions
|
|
@ -473,7 +473,7 @@ class ApiClient {
|
|||
async createOnlyOfficeFile(type: 'word' | 'slide') {
|
||||
const res = await this.request('/api/onlyoffice/create', {
|
||||
method: 'POST',
|
||||
body: JSON.stringify({ type })
|
||||
body: { type }
|
||||
});
|
||||
return res.json();
|
||||
}
|
||||
|
|
@ -481,7 +481,7 @@ class ApiClient {
|
|||
async signOnlyOfficeConfig(config: any) {
|
||||
const res = await this.request('/api/onlyoffice/sign', {
|
||||
method: 'POST',
|
||||
body: JSON.stringify(config)
|
||||
body: config
|
||||
});
|
||||
return res.json();
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue