fix(gateway): align node push token typing and router test mock

This commit is contained in:
William Valentin
2026-02-17 16:06:03 -08:00
parent 803de57261
commit 59199731c3
2 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -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,