upd: firebase emty undefined

This commit is contained in:
2025-08-28 16:47:53 +08:00
parent 562470bcd3
commit ed133a7452
2 changed files with 2 additions and 2 deletions

View File

@@ -322,7 +322,7 @@ export async function POST(request: Request) {
data: dataNotifFilter
})
const tokenUnique = [...new Set(tokenDup.flat())];
const tokenUnique = [...new Set(tokenDup.flat())].filter((v: any) => v != undefined && v != null && v != "");
await sendFCMNotificationMany({
token: tokenUnique,
title: "Divisi Baru",