Skip to content

Commit b6bd2a5

Browse files
committed
fixed KotlinJS IR compilation error
1 parent 7bbf408 commit b6bd2a5

File tree

1 file changed

+1
-1
lines changed
  • firebase-auth/src/commonMain/kotlin/dev/gitlive/firebase/auth

1 file changed

+1
-1
lines changed

firebase-auth/src/commonMain/kotlin/dev/gitlive/firebase/auth/user.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ expect class FirebaseUser {
2828
suspend fun updateEmail(email: String)
2929
suspend fun updatePassword(password: String)
3030
suspend fun updatePhoneNumber(credential: PhoneAuthCredential)
31-
suspend fun updateProfile(displayName: String? = this.displayName, photoUrl: String? = this.photoURL)
31+
suspend fun updateProfile(displayName: String? = null, photoUrl: String? = null)
3232
suspend fun verifyBeforeUpdateEmail(newEmail: String, actionCodeSettings: ActionCodeSettings? = null)
3333
}
3434

0 commit comments

Comments
 (0)