Skip to content

Commit 0231c7d

Browse files
committed
fix(ci): Put marcelklehr's app credentials and add dropbox to stringifyAccountData
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
1 parent 9901230 commit 0231c7d

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

dropbox-api.credentials.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"web": {
3-
"client_id": "nmykfhd3jjmc67j",
4-
"project_id": "nmykfhd3jjmc67j",
3+
"client_id": "apzybhhq0x0o0gk",
4+
"project_id": "apzybhhq0x0o0gk",
55
"auth_uri": "https://www.dropbox.com/oauth2/authorize",
66
"token_uri": "https://www.dropbox.com/oauth2/token",
7-
"client_secret": "1rgc9mzsxilh22s",
7+
"client_secret": "5p9q884v8vd69sw",
88
"redirect_uris": [
99
"https://mbepccofdnoepgicagpchfmafecckdam.chromiumapp.org/",
1010
"https://76a380c4950986998208e7bb9dbd8fea94c91504.extensions.allizom.org/",
@@ -14,14 +14,14 @@
1414
]
1515
},
1616
"android": {
17-
"client_id": "nmykfhd3jjmc67j",
18-
"project_id": "nmykfhd3jjmc67j",
17+
"client_id": "apzybhhq0x0o0gk",
18+
"project_id": "apzybhhq0x0o0gk",
1919
"auth_uri": "https://www.dropbox.com/oauth2/authorize",
2020
"token_uri": "https://www.dropbox.com/oauth2/token",
2121
"redirect_uri": "org.handmadeideas.floccus://auth"
2222
},
2323
"ios": {
24-
"client_id": "nmykfhd3jjmc67j",
24+
"client_id": "apzybhhq0x0o0gk",
2525
"redirect_uri": "org.handmadeideas.floccus://auth"
2626
}
2727
}

src/test/test.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9068,7 +9068,13 @@ function stringifyAccountData(ACCOUNT_DATA) {
90689068
return `${ACCOUNT_DATA.type}${
90699069
(ACCOUNT_DATA.noCache ? '-noCache' : '') +
90709070
(typeof ACCOUNT_DATA.bookmark_file_type !== 'undefined' ? '-' + ACCOUNT_DATA.bookmark_file_type : '') +
9071-
((ACCOUNT_DATA.type === 'google-drive' && ACCOUNT_DATA.password) || (ACCOUNT_DATA.type === 'webdav' && ACCOUNT_DATA.passphrase) ? '-encrypted' : '')
9071+
(
9072+
(ACCOUNT_DATA.type === 'google-drive' && ACCOUNT_DATA.password) ||
9073+
(ACCOUNT_DATA.type === 'dropbox' && ACCOUNT_DATA.password) ||
9074+
(ACCOUNT_DATA.type === 'webdav' && ACCOUNT_DATA.passphrase)
9075+
? '-encrypted'
9076+
: ''
9077+
)
90729078
}`
90739079
}
90749080

0 commit comments

Comments
 (0)