Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add comment to apps/files_sharing/api/v1 body shareType
  • Loading branch information
soltanireza65 authored and phil-davis committed Jul 17, 2023
commit 5aece7455c635b529d1481e00a0a62f0c63fe0a7
1 change: 1 addition & 0 deletions apps/files_sharing/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ OCA.Sharing.App = {
contentType: 'application/json',
dataType: 'json',
type: method,
// be aware that `shareType` should not be an empty string
data: JSON.stringify((shareType !== undefined ? { shareType: shareType } : {})),
});
xhr.fail(function(response) {
Expand Down