From 40179a55910b46dadf45aa1fa0a88167643944c2 Mon Sep 17 00:00:00 2001 From: Hazel K Date: Wed, 2 Oct 2024 22:00:32 -0400 Subject: [PATCH] lint fixes --- packages/backend/src/postgres.ts | 2 +- packages/backend/src/server/api/endpoints/notes/following.ts | 4 ++-- packages/frontend/src/pages/following-feed.vue | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/backend/src/postgres.ts b/packages/backend/src/postgres.ts index de7353dc8c..0d17b3d046 100644 --- a/packages/backend/src/postgres.ts +++ b/packages/backend/src/postgres.ts @@ -83,7 +83,7 @@ import { MiReversiGame } from '@/models/ReversiGame.js'; import { Config } from '@/config.js'; import MisskeyLogger from '@/logger.js'; import { bindThis } from '@/decorators.js'; -import {LatestNote} from "@/models/LatestNote.js"; +import { LatestNote } from '@/models/LatestNote.js'; pg.types.setTypeParser(20, Number); diff --git a/packages/backend/src/server/api/endpoints/notes/following.ts b/packages/backend/src/server/api/endpoints/notes/following.ts index 89ffc83604..436160f250 100644 --- a/packages/backend/src/server/api/endpoints/notes/following.ts +++ b/packages/backend/src/server/api/endpoints/notes/following.ts @@ -4,7 +4,7 @@ */ import { Inject, Injectable } from '@nestjs/common'; -import { LatestNote, MiFollowing, MiBlocking, MiMuting, MiUserProfile } from '@/models/_.js'; +import { LatestNote, MiFollowing } from '@/models/_.js'; import type { NotesRepository } from '@/models/_.js'; import { Endpoint } from '@/server/api/endpoint-base.js'; import { NoteEntityService } from '@/core/entities/NoteEntityService.js'; @@ -78,7 +78,7 @@ export default class extends Endpoint { // eslint- } // Respect blocks and mutes - this.queryService.generateBlockedUserQuery(query, me) + this.queryService.generateBlockedUserQuery(query, me); this.queryService.generateMutedUserQuery(query, me); // Support pagination diff --git a/packages/frontend/src/pages/following-feed.vue b/packages/frontend/src/pages/following-feed.vue index 769c8dcd86..d79aeebf4d 100644 --- a/packages/frontend/src/pages/following-feed.vue +++ b/packages/frontend/src/pages/following-feed.vue @@ -5,7 +5,7 @@ SPDX-License-Identifier: AGPL-3.0-only