fix: import typo generateAlertEmergencyInfoContent

This commit is contained in:
devthejo 2025-06-22 23:53:48 +02:00
parent 8d669c8b73
commit d780fb4190

View file

@ -16,7 +16,7 @@ import { largeIcons, smallIcon } from "../icons";
import { ALERT_INFOS_QUERY } from "../gql"; import { ALERT_INFOS_QUERY } from "../gql";
import { displayNotification, createChannel } from "../helpers"; import { displayNotification, createChannel } from "../helpers";
import { generateAlertInfosContent } from "../content"; import { generateAlertEmergencyInfoContent } from "../content";
const { custom } = Light; const { custom } = Light;
@ -60,7 +60,7 @@ export default async function notifAlertInfos(data) {
const largeIcon = largeIcons[level]; const largeIcon = largeIcons[level];
// Generate notification content // Generate notification content
const { title, body, bigText } = generateAlertInfosContent({ const { title, body, bigText } = generateAlertEmergencyInfoContent({
code, code,
what3Words, what3Words,
address, address,