style(backend): fix all eslint errors (#9967)
This commit is contained in:
parent
7c5fc2c423
commit
8f9ce23e52
9 changed files with 11 additions and 12 deletions
|
|
@ -107,7 +107,7 @@ export class ImageProcessingService {
|
|||
withoutEnlargement: true,
|
||||
})
|
||||
.rotate()
|
||||
.webp(options)
|
||||
.webp(options);
|
||||
|
||||
return {
|
||||
data,
|
||||
|
|
|
|||
|
|
@ -40,7 +40,6 @@ function truncateBody<T extends keyof pushNotificationsTypes>(type: T, body: pus
|
|||
},
|
||||
} : {}),
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
@Injectable()
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ export class VideoProcessingService {
|
|||
thumbnail: '1',
|
||||
url,
|
||||
})
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ export class EmojiEntityService {
|
|||
src: Emoji['id'] | Emoji,
|
||||
opts: { omitHost?: boolean; omitId?: boolean; withUrl?: boolean; } = { omitHost: true, omitId: true, withUrl: true },
|
||||
): Promise<Packed<'Emoji'>> {
|
||||
opts = { omitHost: true, omitId: true, withUrl: true, ...opts }
|
||||
opts = { omitHost: true, omitId: true, withUrl: true, ...opts };
|
||||
|
||||
const emoji = typeof src === 'object' ? src : await this.emojisRepository.findOneByOrFail({ id: src });
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue