debug: add log

This commit is contained in:
sim1222 2022-12-22 16:52:43 +09:00
parent c39c978c27
commit c9267e741d
No known key found for this signature in database
GPG Key ID: 04EF48D01BEB0298

View File

@ -102,6 +102,7 @@ export async function openReactionImportMenu(ev: MouseEvent, reaction: string, n
return (emoji === name);
});
});
console.log(name);
if (duplication) {
os.api('notes/reactions/create', {
noteId: noteId,
@ -109,6 +110,7 @@ export async function openReactionImportMenu(ev: MouseEvent, reaction: string, n
});
} else {
await importEmoji(true);
console.log('endImport');
os.api('notes/reactions/create', {
noteId: noteId,
reaction: name,