summaryrefslogtreecommitdiff
path: root/src/api/common
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-02-06 21:14:42 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-02-06 21:14:42 +0900
commit1113e0bfa551354b5db0167964611c13ebebb1d8 (patch)
tree219db4d76f214ed5ddffc1da126159aff1625d94 /src/api/common
parent[Server] Add some debug messages (diff)
downloadsharkey-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.ts2
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);