From 1113e0bfa551354b5db0167964611c13ebebb1d8 Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 6 Feb 2017 21:14:42 +0900 Subject: [PATCH] [Server] Delete the needless property --- src/api/common/add-file-to-drive.ts | 2 ++ 1 file changed, 2 insertions(+) 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);