This commit is contained in:
syuilo 2018-08-11 21:43:55 +09:00
parent ae4127d19e
commit 40543b42e2

View file

@ -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'
});