merge: Fix linter error in emojis endpoint (!758)

View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/758
This commit is contained in:
Julia 2024-11-20 06:29:48 +00:00
commit e0bb796aff

View file

@ -54,7 +54,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
.where('host IS NULL') .where('host IS NULL')
.orderBy('LOWER(category)', 'ASC') .orderBy('LOWER(category)', 'ASC')
.orderBy('LOWER(name)', 'ASC') .orderBy('LOWER(name)', 'ASC')
.getMany() .getMany();
return { return {
emojis: await this.emojiEntityService.packSimpleMany(emojis), emojis: await this.emojiEntityService.packSimpleMany(emojis),
}; };