Skip to content

Commit a154393

Browse files
committed
fix(FileRequests): File requests should be type link share
"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 <[email protected]>
1 parent faa96d3 commit a154393

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/files_sharing/src/components/NewFileRequestDialog.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ export default defineComponent({
284284
const request = await axios.post<OCSResponse>(shareUrl, {
285285
// Always create a file request, but without mail share
286286
// permissions, only a share link will be created.
287-
shareType: sharingConfig.isMailShareAllowed ? ShareType.Email : ShareType.Link,
287+
shareType: ShareType.Link,
288288
permissions: Permission.CREATE,
289289
290290
label: this.label,

0 commit comments

Comments
 (0)