tweak: add full fsentry to share notification

This commit is contained in:
KernelDeimos 2024-06-16 22:00:04 -04:00
parent 4ef6fd6148
commit 35cbec43e6

View File

@ -119,8 +119,9 @@ const handler_item_by_username = async (req, res) => {
template: 'file-shared-with-you', template: 'file-shared-with-you',
fields: { fields: {
username: req.user.username, username: req.user.username,
type: wut, files: [
filename: await node.get('name'), await node.getSafeEntry(),
],
}, },
text: `The user ${quot(req.user.username)} shared a ${wut} ` + text: `The user ${quot(req.user.username)} shared a ${wut} ` +
`with you called ${quot(await node.get('name'))}` `with you called ${quot(await node.get('name'))}`