Fix successful response codes result passing
This commit is contained in:
parent
12db568087
commit
113d166fa6
|
|
@ -56,6 +56,10 @@ class HmsHpkClientServiceImpl(
|
|||
)
|
||||
|
||||
when (HmsResponseCode.fromCode(result.code)) {
|
||||
HmsResponseCode.SUCCESS -> {
|
||||
// pass result
|
||||
}
|
||||
|
||||
HmsResponseCode.INVALID_TOKEN,
|
||||
HmsResponseCode.PERMISSION_DENIED -> {
|
||||
throw InvalidPushTokenException()
|
||||
|
|
|
|||
Loading…
Reference in New Issue