summaryrefslogtreecommitdiff
path: root/src/server/api/endpoints/drive/files.ts
diff options
context:
space:
mode:
authorMeiMei <30769358+mei23@users.noreply.github.com>2018-11-26 04:25:48 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2018-11-26 04:25:48 +0900
commitbcb04924ff08cc90d046ec7064fa0b89cbf9219e (patch)
tree8ba56067c7be24ca06a833e84f052309773da831 /src/server/api/endpoints/drive/files.ts
parent:art: (diff)
downloadsharkey-bcb04924ff08cc90d046ec7064fa0b89cbf9219e.tar.gz
sharkey-bcb04924ff08cc90d046ec7064fa0b89cbf9219e.tar.bz2
sharkey-bcb04924ff08cc90d046ec7064fa0b89cbf9219e.zip
Image for web publish (#3402)
* Image for Web * Add comment * Make main to original
Diffstat (limited to 'src/server/api/endpoints/drive/files.ts')
-rw-r--r--src/server/api/endpoints/drive/files.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/api/endpoints/drive/files.ts b/src/server/api/endpoints/drive/files.ts
index 27f101562d..20955e0e4e 100644
--- a/src/server/api/endpoints/drive/files.ts
+++ b/src/server/api/endpoints/drive/files.ts
@@ -77,5 +77,5 @@ export default define(meta, (ps, user) => new Promise(async (res, rej) => {
sort: sort
});
- res(await packMany(files));
+ res(await packMany(files, { detail: false, self: true }));
}));