mirror of
https://github.com/HeyPuter/puter.git
synced 2026-04-28 03:01:29 -05:00
tweak: add full fsentry to share notification
This commit is contained in:
@@ -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'))}`
|
||||
|
||||
Reference in New Issue
Block a user