Skip to content

Commit 0d52f24

Browse files
committed
update creds file and credregex
1 parent 85f909f commit 0d52f24

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

scripts/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
PLATFORM=$1
1010
REMOTE=$(git config --get remote.origin.url)
1111
CREDS=$(cat ./src/models/credentials.ts | tr -d '\n')
12-
CREDREGEX='^.*".+".*".+".*".+".*$'
12+
CREDREGEX='^.*".+".*".+".*".+".*".+".*".+".*$'
1313
STYLEFILES="./src/* ./src/**/* ./src/**/**/* ./sass/*.scss"
1414
set -e
1515

src/models/credentials.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
11
export function getCredentials() {
22
return {
33
drive: {
4-
client_id: "", // Google client ID
4+
client_id:
5+
"", // Google client ID
56
client_secret: "" // Google client secret
67
},
78
dropbox: {
89
client_id: "" // Dropbox client ID
10+
},
11+
onedrive: {
12+
client_id: "", // Microsoft Identity client ID
13+
client_secret: "" // Microsoft Identity client secret
914
}
1015
};
1116
}

0 commit comments

Comments
 (0)