summaryrefslogtreecommitdiff
path: root/src/server/api/endpoints/notes
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-08-11 21:01:26 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-08-11 21:01:26 +0900
commit7942aa677fd8f3503cca977ea9bba5d4a2efdd85 (patch)
treeae31320519af158a9f9606c739d16826f219a46b /src/server/api/endpoints/notes
parentRefactoring (diff)
downloadsharkey-7942aa677fd8f3503cca977ea9bba5d4a2efdd85.tar.gz
sharkey-7942aa677fd8f3503cca977ea9bba5d4a2efdd85.tar.bz2
sharkey-7942aa677fd8f3503cca977ea9bba5d4a2efdd85.zip
Update doc
Diffstat (limited to 'src/server/api/endpoints/notes')
-rw-r--r--src/server/api/endpoints/notes/timeline.ts6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/server/api/endpoints/notes/timeline.ts b/src/server/api/endpoints/notes/timeline.ts
index faa8ccf3ca..c1b8644e4d 100644
--- a/src/server/api/endpoints/notes/timeline.ts
+++ b/src/server/api/endpoints/notes/timeline.ts
@@ -8,7 +8,8 @@ import getParams from '../../get-params';
export const meta = {
desc: {
- ja: 'タイムラインを取得します。'
+ ja: 'タイムラインを取得します。',
+ en: 'Get timeline of myself.'
},
requireCredential: true,
@@ -67,9 +68,6 @@ export const meta = {
}
};
-/**
- * Get timeline of myself
- */
export default async (params: any, user: ILocalUser) => {
const [ps, psErr] = getParams(meta, params);
if (psErr) throw psErr;