mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-25 15:35:12 +00:00
[ci skip] improve readability
This commit is contained in:
parent
3f57119aea
commit
2a7ba37996
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ export class CustomEmojiService {
|
|||
if (!Array.isArray(JSON.parse(value))) return undefined; // 古いバージョンの壊れたキャッシュが残っていることがある(そのうち消す)
|
||||
return new Map(JSON.parse(value).map((x: Serialized<Emoji>) => [x.name, {
|
||||
...x,
|
||||
updatedAt: x.updatedAt && new Date(x.updatedAt),
|
||||
updatedAt: x.updatedAt ? new Date(x.updatedAt) : null,
|
||||
}]));
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue