mirror of
https://github.com/HeyPuter/puter
synced 2024-11-14 22:06:00 +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',
|
||||
fields: {
|
||||
username: req.user.username,
|
||||
type: wut,
|
||||
filename: await node.get('name'),
|
||||
files: [
|
||||
await node.getSafeEntry(),
|
||||
],
|
||||
},
|
||||
text: `The user ${quot(req.user.username)} shared a ${wut} ` +
|
||||
`with you called ${quot(await node.get('name'))}`
|
||||
|
Loading…
Reference in New Issue
Block a user