Skip to content

Commit cd65217

Browse files
committed
fix: switch share notif username to sender
1 parent 1d083ef commit cd65217

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/backend/src/routers/share.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ const v0_2 = async (req, res) => {
491491
title: 'Files were shared with you!',
492492
template: 'file-shared-with-you',
493493
fields: {
494-
username,
494+
username: actor.type.user.username,
495495
files,
496496
},
497497
text: `The user ${quot(req.user.username)} shared ` +

0 commit comments

Comments
 (0)