chore: change type for adminSdkJson parameter

This commit is contained in:
2024-06-15 06:11:09 -04:00
parent fd61974740
commit a9e363e814
4 changed files with 27 additions and 8 deletions

View File

@@ -1,8 +1,9 @@
import type { AdminSdkCredentials } from "./getGoogleAuthToken";
import { sendFcmMessage } from "./sendFcmMessage";
export async function verifyFcmToken(
token: string,
adminSdkJson: string,
adminSdkJson: AdminSdkCredentials,
): Promise<boolean> {
return sendFcmMessage(
adminSdkJson,