UnifiedPush: unregister the application using the correct instance.

This commit is contained in:
Benoit Marty 2024-11-15 10:27:39 +01:00 committed by Benoit Marty
parent 45e258e697
commit 1f3a0eb698

View file

@ -41,7 +41,7 @@ class DefaultUnregisterUnifiedPushUseCase @Inject constructor(
.onSuccess {
unifiedPushStore.storeUpEndpoint(clientSecret, null)
unifiedPushStore.storePushGateway(clientSecret, null)
UnifiedPush.unregisterApp(context)
UnifiedPush.unregisterApp(context, clientSecret)
}
}
}