Skip to content

Commit c379b5d

Browse files
committed
Fix push module
1 parent a0a8550 commit c379b5d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

ios/AuthsignalPushModule.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,10 @@ class AuthsignalPushModule: NSObject {
7777
reject(response.errorCode ?? "unexpected_error", error, nil)
7878
} else {
7979
let credential: [String: String?] = [
80-
"credentialId": data.credentialId,
81-
"createdAt": data.createdAt,
82-
"userId": data.userId,
83-
"lastAuthenticatedAt": data.lastAuthenticatedAt,
80+
"credentialId": response.data!.credentialId,
81+
"createdAt": response.data!.createdAt,
82+
"userId": response.data!.userId,
83+
"lastAuthenticatedAt": response.data!.lastAuthenticatedAt,
8484
]
8585

8686
resolve(credential)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-authsignal",
3-
"version": "2.0.0-alpha1",
3+
"version": "2.0.0-alpha2",
44
"description": "The official Authsignal React Native library.",
55
"main": "lib/commonjs/index",
66
"module": "lib/module/index",

0 commit comments

Comments
 (0)