Skip to content

Commit

Permalink
feat: 分享文件不填授权用户时,默认通知分享人 #2443
Browse files Browse the repository at this point in the history
  • Loading branch information
yaoxuwan committed Jul 30, 2024
1 parent ae038ca commit ca6f450
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@
fullPathSet: [path],
type: 'DOWNLOAD',
host: `${location.origin}/web/generic`,
needsNotify: Boolean(user.length),
needsNotify: true,
...(ip.length ? { authorizedIpSet: ip } : {}),
...(user.length ? { authorizedUserSet: user } : {}),
...(Number(time) > 0 ? { expireSeconds: Number(time) * 86400 } : {}),
Expand Down

0 comments on commit ca6f450

Please sign in to comment.