From 8817ef36853d60cb05b3413a38b7c2c85ee6a5ff Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 4 Aug 2018 12:37:32 +0900 Subject: [PATCH] Fix bug --- src/back.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/back.ts b/src/back.ts index 9254598..e0840cf 100644 --- a/src/back.ts +++ b/src/back.ts @@ -81,7 +81,7 @@ process.on('message', async msg => { await request.post(`${config.host}/api/notes/create`, { json: { i: config.i, - renoteId: note.id, + renoteId: note ? note.id : null, text: text } });