You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-27 23:28:38 +02:00
Specify content-type header for OneDrive to prevent network error
This commit is contained in:
@ -100,6 +100,9 @@ class OneDriveApi {
|
||||
const r = await shim.fetch(this.tokenBaseUrl(), {
|
||||
method: 'POST',
|
||||
body: body,
|
||||
headers: {
|
||||
['Content-Type']: 'application/x-www-form-urlencoded',
|
||||
},
|
||||
});
|
||||
|
||||
if (!r.ok) {
|
||||
|
Reference in New Issue
Block a user