mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-23 15:03:09 +02:00
upd: replace star with heart
This commit is contained in:
parent
806a76c5ca
commit
1b9897f83b
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue