From 40543b42e2543914568a648bfe83cd81319409f4 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 11 Aug 2018 21:43:55 +0900 Subject: [PATCH] Fix bug --- src/ai.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ai.ts b/src/ai.ts index 065fde5..ab907a3 100644 --- a/src/ai.ts +++ b/src/ai.ts @@ -87,12 +87,12 @@ export default class 藍 { setTimeout(() => { if (msg.isMessage) { // 既読にする - this.api(`${config.apiUrl}/messaging/messages/read`, { + this.api('messaging/messages/read', { messageId: msg.id, }); } else { // リアクションする - this.api(`${config.apiUrl}/notes/reactions/create`, { + this.api('notes/reactions/create', { noteId: msg.id, reaction: 'love' });