mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-04-28 17:46:56 +00:00
cleanup for linter to be happy
This commit is contained in:
parent
b92a325539
commit
62964c45f8
1 changed files with 1 additions and 2 deletions
|
@ -3,7 +3,6 @@
|
||||||
* SPDX-License-Identifier: AGPL-3.0-only
|
* SPDX-License-Identifier: AGPL-3.0-only
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { IsNull } from 'typeorm';
|
|
||||||
import { Inject, Injectable } from '@nestjs/common';
|
import { Inject, Injectable } from '@nestjs/common';
|
||||||
import type { EmojisRepository } from '@/models/_.js';
|
import type { EmojisRepository } from '@/models/_.js';
|
||||||
import { Endpoint } from '@/server/api/endpoint-base.js';
|
import { Endpoint } from '@/server/api/endpoint-base.js';
|
||||||
|
@ -55,7 +54,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
|
||||||
|
|
||||||
private emojiEntityService: EmojiEntityService,
|
private emojiEntityService: EmojiEntityService,
|
||||||
) {
|
) {
|
||||||
super(meta, paramDef, async (ps, me) => {
|
super(meta, paramDef, async () => {
|
||||||
const emojis = await this.emojisRepository.createQueryBuilder()
|
const emojis = await this.emojisRepository.createQueryBuilder()
|
||||||
.where('host IS NULL')
|
.where('host IS NULL')
|
||||||
.orderBy('LOWER(category)', 'ASC')
|
.orderBy('LOWER(category)', 'ASC')
|
||||||
|
|
Loading…
Add table
Reference in a new issue