Skip to content

Commit

Permalink
remove MANAGED-ID
Browse files Browse the repository at this point in the history
Signed-off-by: Mikhail Sazanov <m@sazanof.ru>
  • Loading branch information
Mikhail Sazanov committed Nov 2, 2022
1 parent 5a5638c commit 2fb2e8a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/models/attachment.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ const getDefaultAttachmentObject = (props = {}) => Object.assign({}, {
uri: null,
// The value from calendar object
value: null,
// Managed ID
managedId: null,
// Preview of file
xNcHasPreview: null,
// File id in NC
Expand All @@ -58,7 +56,6 @@ const mapAttachmentPropertyToAttchmentObject = (attachmentProperty) => {
formatType: attachmentProperty.formatType,
uri: attachmentProperty.uri,
value: attachmentProperty.value,
managedId: attachmentProperty.getParameterFirstValue('MANAGED-ID'),
xNcHasPreview: attachmentProperty.getParameterFirstValue('X-NC-HAS-PREVIEW') === 'true',
xNcFileId: attachmentProperty.getParameterFirstValue('X-NC-FILE-ID'),
})
Expand Down

0 comments on commit 2fb2e8a

Please sign in to comment.