Skip to content

Commit 9033f6f

Browse files
committed
fix: update email share object
1 parent 9751fd9 commit 9033f6f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/backend/src/routers/share.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,8 @@ const v0_2 = async (req, res) => {
590590
};
591591

592592
for ( const share_item of shares_work.list() ) {
593-
data.permissions.push(share_item.permission);
593+
const permissions = share_item.share_intent.permissions;
594+
data.permissions.push(...permissions);
594595
}
595596

596597
// track: scoping iife

0 commit comments

Comments
 (0)