mirror of
https://github.com/syuilo/ai.git
synced 2024-12-22 08:21:08 +00:00
Fix bug
This commit is contained in:
parent
ae4127d19e
commit
40543b42e2
|
@ -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'
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue