mirror of
https://github.com/syuilo/ai.git
synced 2024-11-09 23:48:01 +00:00
Fix bug
This commit is contained in:
parent
ae4127d19e
commit
40543b42e2
|
@ -87,12 +87,12 @@ export default class 藍 {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
if (msg.isMessage) {
|
if (msg.isMessage) {
|
||||||
// 既読にする
|
// 既読にする
|
||||||
this.api(`${config.apiUrl}/messaging/messages/read`, {
|
this.api('messaging/messages/read', {
|
||||||
messageId: msg.id,
|
messageId: msg.id,
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
// リアクションする
|
// リアクションする
|
||||||
this.api(`${config.apiUrl}/notes/reactions/create`, {
|
this.api('notes/reactions/create', {
|
||||||
noteId: msg.id,
|
noteId: msg.id,
|
||||||
reaction: 'love'
|
reaction: 'love'
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue