mirror of
https://github.com/HeyPuter/puter
synced 2024-11-15 06:15:47 +00:00
tweak: add full fsentry to share notification
This commit is contained in:
parent
4ef6fd6148
commit
35cbec43e6
@ -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'))}`
|
||||||
|
Loading…
Reference in New Issue
Block a user