This commit is contained in:
andrew 2023-07-26 14:48:15 +09:30
parent d3ea4e2e30
commit 4738c9b4f9
1 changed files with 2 additions and 2 deletions

View File

@ -71,7 +71,7 @@ class GenericPushManager @Inject constructor(
}
val v2 = pushManagerV2.register(
Device.ANDROID, token, publicKey, userEd25519Key, namespaces
device, token, publicKey, userEd25519Key, namespaces
) fail {
Log.e(TAG, "register v2 failed", it)
}
@ -87,7 +87,7 @@ class GenericPushManager @Inject constructor(
userPublicKey: String,
userEdKey: KeyPair
): Promise<*, Exception> = PushManagerV1.unregister() and pushManagerV2.unregister(
Device.ANDROID, token, userPublicKey, userEdKey
device, token, userPublicKey, userEdKey
) fail {
Log.e(TAG, "unregisterBoth failed", it)
} success {