summaryrefslogtreecommitdiff
path: root/src/server/api/endpoints/drive/files/show.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/show.ts
parent:art: (diff)
downloadmisskey-bcb04924ff08cc90d046ec7064fa0b89cbf9219e.tar.gz
misskey-bcb04924ff08cc90d046ec7064fa0b89cbf9219e.tar.bz2
misskey-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/show.ts')
-rw-r--r--src/server/api/endpoints/drive/files/show.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server/api/endpoints/drive/files/show.ts b/src/server/api/endpoints/drive/files/show.ts
index 450a97065b..95c3323fbb 100644
--- a/src/server/api/endpoints/drive/files/show.ts
+++ b/src/server/api/endpoints/drive/files/show.ts
@@ -41,7 +41,8 @@ export default define(meta, (ps, user) => new Promise(async (res, rej) => {
// Serialize
const _file = await pack(file, {
- detail: true
+ detail: true,
+ self: true
});
res(_file);