fix: import typo generateAlertEmergencyInfoContent
This commit is contained in:
parent
8d669c8b73
commit
d780fb4190
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||||
|
|
Loading…
Add table
Reference in a new issue