mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-01 00:43:15 +00:00
fix(ci): check digest recipient IDs and unused translations accurately
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
"categories.ts": 1,
|
||||
"collab.ts": 9,
|
||||
"collection.ts": 29,
|
||||
"common.ts": 7,
|
||||
"common.ts": 6,
|
||||
"dashboard.ts": 64,
|
||||
"dawarich.ts": 15,
|
||||
"dayplan.ts": 17,
|
||||
|
||||
@@ -430,7 +430,7 @@ describe('the daily digest', () => {
|
||||
const people = new Set([owner.id, editor.id, viewer.id]);
|
||||
const told = await findRows(orm, Notifications, { title_key: 'notif.journey_entry_published.title' });
|
||||
const recipients = told
|
||||
.map((n) => n.recipient)
|
||||
.map((n) => n.recipient_id)
|
||||
.filter((id) => people.has(id))
|
||||
.sort();
|
||||
// The author of the only new entry is not told about it.
|
||||
|
||||
Reference in New Issue
Block a user