fix: remove days as unit for "new series" alerts
this will give at least some specificity if it's going to be released in a day or more
This commit is contained in:
@@ -46,7 +46,7 @@ app.post("/", async (c) => {
|
||||
},
|
||||
notification: {
|
||||
title: "New Series Alert",
|
||||
body: `${titleName} will be released ${DateTime.fromSeconds(title.airingAt).toRelative({ unit: ["days", "hours", "minutes"] })}`,
|
||||
body: `${titleName} will be released ${DateTime.fromSeconds(title.airingAt).toRelative({ unit: ["hours", "minutes"] })}`,
|
||||
image:
|
||||
title.media.coverImage?.medium ??
|
||||
title.media.coverImage?.large ??
|
||||
|
||||
Reference in New Issue
Block a user