From b83fc7989cf34c4764f7f5b14969707bd78c6ee2 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 92a9492d86..003e09ee77 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