We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9bab104 commit d180b9bCopy full SHA for d180b9b
1 file changed
src/lib/adapters/Dropbox.ts
@@ -101,7 +101,9 @@ export default class DropboxAdapter extends CachingAdapter {
101
Authorization: 'Bearer ' + result.access_token_response.access_token,
102
'Content-Type': 'application/json'
103
},
104
- body: JSON.stringify({account_id: result.access_token_response.account_id})
+ body: Capacitor.getPlatform() === 'ios'
105
+ ? JSON.stringify({account_id: result.access_token_response.account_id})
106
+ : JSON.stringify({account_id: result.access_token_response.additionalParameters.account_id})
107
})
108
109
if (res.status !== 200) {
0 commit comments