Skip to content

Commit 977268a

Browse files
committed
fix FirebaseFirestoreException.code in js
1 parent e099160 commit 977268a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

firebase-firestore/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"repository": {
1010
"type": "git",
11-
"url": "git+https://github.com/TeamHubApp/firebase-kotlin-multiplatform-sdk.git"
11+
"url": "git+https://github.com/TeamHubApp/firebase-kotlin-sdk.git"
1212
},
1313
"keywords": [
1414
"kotlin",
@@ -19,9 +19,9 @@
1919
"author": "teamhub.dev",
2020
"license": "Apache-2.0",
2121
"bugs": {
22-
"url": "https://github.com/TeamHubApp/firebase-kotlin-multiplatform-sdk/issues"
22+
"url": "https://github.com/TeamHubApp/firebase-kotlin-sdk/issues"
2323
},
24-
"homepage": "https://github.com/TeamHubApp/firebase-kotlin-multiplatform-sdk",
24+
"homepage": "https://github.com/TeamHubApp/firebase-kotlin-sdk",
2525
"dependencies": {
2626
"@teamhubapp/firebase-app": "0.1.0",
2727
"firebase": "6.2.3",

firebase-firestore/src/jsMain/kotlin/dev/teamhub/firebase/firestore/firestore.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ actual fun FirebaseFirestore.setFirestoreSettings(settings: FirebaseFirestoreSet
6464
if(settings.enablePersistence) enablePersistence()
6565
}
6666

67-
actual class FirebaseFirestoreException(message: String?, code: FirestoreExceptionCode) : FirebaseException(code.toString(), message)
67+
actual class FirebaseFirestoreException(message: String?, val code: FirestoreExceptionCode) : FirebaseException(code.toString(), message)
6868

6969
actual val QuerySnapshot.documents: List<DocumentSnapshot>
7070
get() = rethrow { docs.toList() }

0 commit comments

Comments
 (0)