From 9630ea7490bcf4eaf5036a4414af06bb53d57c78 Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 11 Dec 2017 14:07:51 +0900 Subject: [PATCH] :v: --- src/api/serializers/drive-file.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/api/serializers/drive-file.ts b/src/api/serializers/drive-file.ts index 92a9492d8..003e09ee7 100644 --- a/src/api/serializers/drive-file.ts +++ b/src/api/serializers/drive-file.ts @@ -56,6 +56,8 @@ export default ( _target.url = `${config.drive_url}/${_target.id}/${encodeURIComponent(_target.name)}`; + if (_target.properties == null) _target.properties = {}; + if (opts.detail) { if (_target.folder_id) { // Populate folder