Skip to content

Commit

Permalink
fix(FileRequests): File requests should be type link share
Browse files Browse the repository at this point in the history
"File request" is the new "File drop"... File drop was only possible on link shares.

The mails sent at the end of creating a file request is "sending the link to various emails"
it does should not turn the share type to email.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
  • Loading branch information
Fenn-CS committed Oct 7, 2024
1 parent 46378b6 commit e089e40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/files_sharing/src/components/NewFileRequestDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ export default defineComponent({
const request = await axios.post<OCSResponse>(shareUrl, {
// Always create a file request, but without mail share
// permissions, only a share link will be created.
shareType: sharingConfig.isMailShareAllowed ? ShareType.Email : ShareType.Link,
shareType: ShareType.Link,
permissions: Permission.CREATE,
label: this.label,
Expand Down

0 comments on commit e089e40

Please sign in to comment.