1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-15 23:00:36 +02:00

Making oneDrive work on RN

This commit is contained in:
Laurent Cozic
2017-07-06 19:29:09 +00:00
parent bdb250de8a
commit 1c6b569795
8 changed files with 188 additions and 124 deletions

View File

@ -5,8 +5,10 @@ import { OneDriveApi } from 'lib/onedrive-api.js';
class FileApiDriverOneDrive {
constructor(clientId, clientSecret) {
this.api_ = new OneDriveApi(clientId, clientSecret);
//constructor(clientId, clientSecret) {
constructor(api) {
this.api_ = api;
//this.api_ = new OneDriveApi(clientId, clientSecret);
}
api() {