fix(gateway): align node push token typing and router test mock
This commit is contained in:
@@ -431,7 +431,7 @@ export class GatewayServer {
|
||||
return;
|
||||
}
|
||||
const provider = pushToken.provider === 'fcm' ? 'fcm' : 'apns';
|
||||
const normalizedPushToken = {
|
||||
const normalizedPushToken: NonNullable<NodeConnectionState['pushToken']> = {
|
||||
provider,
|
||||
token: pushToken.token,
|
||||
topic: pushToken.topic,
|
||||
|
||||
Reference in New Issue
Block a user