Fix logged title

This commit is contained in:
ekzyis 2024-01-14 21:13:17 +01:00
parent 75bf4aced9
commit f450a00073
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ const mergeAndShowNotification = async (sw, payload, currentNotifications, tag,
}
const options = { icon: payload.options?.icon, tag, data: { url: '/notifications', ...mergedPayload } }
log(`[sw:push] ${nid} - show notification with title "${payload.title}"`)
log(`[sw:push] ${nid} - show notification with title "${title}"`)
return await sw.registration.showNotification(title, options)
}