fix: keep ntfy title but drop duplicate body prefix
This commit is contained in:
@@ -88,7 +88,7 @@ async function sendSlotNotification({ profileId, storeName, pickupDate, onlyNoti
|
||||
? `Der Slot am ${dateLabel} wurde erfolgreich gebucht.`
|
||||
: `Es wurde ein Slot am ${dateLabel} gefunden.`;
|
||||
const storeLink = storeId ? `https://foodsharing.de/store/${storeId}` : null;
|
||||
const fullMessage = storeLink ? `${title}\n${baseMessage}\n${storeLink}` : `${title}\n${baseMessage}`;
|
||||
const fullMessage = storeLink ? `${baseMessage}\n${storeLink}` : baseMessage;
|
||||
|
||||
await notifyChannels(profileId, {
|
||||
title,
|
||||
|
||||
Reference in New Issue
Block a user