Skip to content

Commit c97589b

Browse files
authored
Update UserExtensions.kt (#43)
Fix compilation error
1 parent fb480aa commit c97589b

File tree

1 file changed

+1
-1
lines changed
  • sentry-kotlin-multiplatform/src/commonAppleMain/kotlin/io/sentry/kotlin/multiplatform/extensions

1 file changed

+1
-1
lines changed

sentry-kotlin-multiplatform/src/commonAppleMain/kotlin/io/sentry/kotlin/multiplatform/extensions/UserExtensions.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ internal fun User.toCocoaUser(): CocoaUser {
1616
internal fun CocoaUser.toKmpUser(): User {
1717
val outerScope = this
1818
return User().apply {
19-
id = outerScope.userId
19+
id = outerScope.userId.toString()
2020
username = outerScope.username.toString()
2121
email = outerScope.email.toString()
2222
ipAddress = outerScope.ipAddress.toString()

0 commit comments

Comments
 (0)