mirror of
https://github.com/laurent22/joplin.git
synced 2024-11-24 08:12:24 +02:00
iOS: Fixes #6375: iOS and Dropbox synchronisation not working on iOS 15
This commit is contained in:
parent
671077e1bb
commit
818ad62fbe
@ -124,8 +124,15 @@ class FileApiDriverDropbox {
|
||||
if (!options.responseFormat) options.responseFormat = 'text';
|
||||
|
||||
try {
|
||||
// IMPORTANT:
|
||||
//
|
||||
// We cannot use POST here, because iOS (as of version 14?) doesn't
|
||||
// support POST requests with an empty body:
|
||||
//
|
||||
// https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Error-1017-quot-cannot-parse-response-quot/td-p/589595
|
||||
|
||||
const response = await this.api().exec(
|
||||
'POST',
|
||||
'GET',
|
||||
'files/download',
|
||||
null,
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user