summaryrefslogtreecommitdiff
path: root/src/server/api/endpoints/drive/files/check_existence.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/check_existence.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/check_existence.ts')
-rw-r--r--src/server/api/endpoints/drive/files/check_existence.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/api/endpoints/drive/files/check_existence.ts b/src/server/api/endpoints/drive/files/check_existence.ts
index d3ba4b386d..6e986d4170 100644
--- a/src/server/api/endpoints/drive/files/check_existence.ts
+++ b/src/server/api/endpoints/drive/files/check_existence.ts
@@ -32,6 +32,6 @@ export default define(meta, (ps, user) => new Promise(async (res, rej) => {
if (file === null) {
res({ file: null });
} else {
- res({ file: await pack(file) });
+ res({ file: await pack(file, { self: true }) });
}
}));