Skip to content

Commit

Permalink
drive-file から不要なプロパティを削除
Browse files Browse the repository at this point in the history
  • Loading branch information
mei23 committed Jan 3, 2020
1 parent 5a9bcdc commit 9651987
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/models/drive-file.ts
Expand Up @@ -225,6 +225,9 @@ export const pack = (
delete _target.storageProps;
delete _target.isRemote;
delete _target._user;
delete _target.src;
delete _target.uri;
delete _target.attachedNoteIds;

if (opts.self) {
_target.url = getOriginalUrl(_file);
Expand Down

0 comments on commit 9651987

Please sign in to comment.