summaryrefslogtreecommitdiff
path: root/src/services/note
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2019-04-23 22:35:26 +0900
committerGitHub <noreply@github.com>2019-04-23 22:35:26 +0900
commit0463c6bb0f8fd32740ceb61ccce04c662272a618 (patch)
treea28cbdf6c9cdc14648b8c0e46248665a3ad7e5af /src/services/note
parentFix #4768 (diff)
downloadsharkey-0463c6bb0f8fd32740ceb61ccce04c662272a618.tar.gz
sharkey-0463c6bb0f8fd32740ceb61ccce04c662272a618.tar.bz2
sharkey-0463c6bb0f8fd32740ceb61ccce04c662272a618.zip
Refactor API (#4770)
* wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Update description.ts * wip
Diffstat (limited to 'src/services/note')
-rw-r--r--src/services/note/create.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/services/note/create.ts b/src/services/note/create.ts
index 02e33d6789..ce229d6393 100644
--- a/src/services/note/create.ts
+++ b/src/services/note/create.ts
@@ -237,7 +237,7 @@ export default async (user: User, data: Option, silent = false) => new Promise<N
const noteObj = await Notes.pack(note);
if (isFirstNote) {
- noteObj.isFirstNote = true;
+ (noteObj as any).isFirstNote = true;
}
publishNotesStream(noteObj);