forked from mirrors/misskey
strictNullChecks (#4666)
* wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip
This commit is contained in:
@@ -23,7 +23,7 @@ export const meta = {
|
||||
|
||||
export default define(meta, async (ps) => {
|
||||
const emojis = await Emojis.find({
|
||||
host: toPuny(ps.host)
|
||||
host: ps.host ? toPuny(ps.host) : null
|
||||
});
|
||||
|
||||
return emojis.map(e => ({
|
||||
|
||||
Reference in New Issue
Block a user