diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-02-06 21:14:42 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-02-06 21:14:42 +0900 |
| commit | 1113e0bfa551354b5db0167964611c13ebebb1d8 (patch) | |
| tree | 219db4d76f214ed5ddffc1da126159aff1625d94 /src/api/common | |
| parent | [Server] Add some debug messages (diff) | |
| download | sharkey-1113e0bfa551354b5db0167964611c13ebebb1d8.tar.gz sharkey-1113e0bfa551354b5db0167964611c13ebebb1d8.tar.bz2 sharkey-1113e0bfa551354b5db0167964611c13ebebb1d8.zip | |
[Server] Delete the needless property
Diffstat (limited to 'src/api/common')
| -rw-r--r-- | src/api/common/add-file-to-drive.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/api/common/add-file-to-drive.ts b/src/api/common/add-file-to-drive.ts index 77d116cb41..bbff93ac7a 100644 --- a/src/api/common/add-file-to-drive.ts +++ b/src/api/common/add-file-to-drive.ts @@ -141,6 +141,8 @@ export default ( properties: properties }); + delete file.data; + log(`drive file has been created ${file._id}`); resolve(file); |