Skip to content

Commit 47c6850

Browse files
committed
feat(1.2.0): small fixes
1 parent c18b356 commit 47c6850

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,7 @@
5151
"auth_uri": "",
5252
"token_uri": "",
5353
"auth_provider_x509_cert_url": "",
54-
"client_x509_cert_url": "",
55-
"databaseURL": ""
54+
"client_x509_cert_url": ""
5655
},
5756
"dateformat": "dd.mm.yyyy HH:MM",
5857
"theme": {

src/config.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@ export interface ITheme {
3030

3131
export interface IFirestoreConfig extends ServiceAccount {
3232
storageName: string,
33-
archiveName: string,
34-
databaseURL: string
33+
archiveName: string
3534
}
3635

3736
export interface IConfig {

src/firestore.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@ export class FirestoreStorage extends Storage {
3434
this._archiveName = firestoreConfig.archiveName;
3535

3636
firebase.initializeApp({
37-
credential: firebase.credential.cert(firestoreConfig),
38-
databaseURL: firestoreConfig.databaseURL
37+
credential: firebase.credential.cert(firestoreConfig)
3938
});
4039

4140
this._db = firebase.firestore();

0 commit comments

Comments
 (0)