upd: replace star with heart
This commit is contained in:
parent
806a76c5ca
commit
1b9897f83b
@ -220,7 +220,7 @@ export class ApiStatusMastodon {
|
|||||||
try {
|
try {
|
||||||
const data = (await client.createEmojiReaction(
|
const data = (await client.createEmojiReaction(
|
||||||
convertId(_request.params.id, IdType.SharkeyId),
|
convertId(_request.params.id, IdType.SharkeyId),
|
||||||
'⭐',
|
'❤',
|
||||||
)) as any;
|
)) as any;
|
||||||
reply.send(convertStatus(data.data));
|
reply.send(convertStatus(data.data));
|
||||||
} catch (e: any) {
|
} catch (e: any) {
|
||||||
@ -238,7 +238,7 @@ export class ApiStatusMastodon {
|
|||||||
try {
|
try {
|
||||||
const data = await client.deleteEmojiReaction(
|
const data = await client.deleteEmojiReaction(
|
||||||
convertId(_request.params.id, IdType.SharkeyId),
|
convertId(_request.params.id, IdType.SharkeyId),
|
||||||
'⭐',
|
'❤',
|
||||||
);
|
);
|
||||||
reply.send(convertStatus(data.data));
|
reply.send(convertStatus(data.data));
|
||||||
} catch (e: any) {
|
} catch (e: any) {
|
||||||
|
Loading…
Reference in New Issue
Block a user