From f92c382da9c5419b4624b5b7731d1a0302b7c6e4 Mon Sep 17 00:00:00 2001 From: "P. Reis" Date: Mon, 4 Nov 2024 11:16:36 -0300 Subject: [PATCH] refactor: remove unused imports --- src/controllers/api/ditto.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/controllers/api/ditto.ts b/src/controllers/api/ditto.ts index a6e65235..b43b11ed 100644 --- a/src/controllers/api/ditto.ts +++ b/src/controllers/api/ditto.ts @@ -4,7 +4,7 @@ import { z } from 'zod'; import { AppController } from '@/app.ts'; import { Conf } from '@/config.ts'; -import { type DittoUpload, dittoUploads } from '@/DittoUploads.ts'; +import { dittoUploads } from '@/DittoUploads.ts'; import { addTag } from '@/utils/tags.ts'; import { getAuthor } from '@/queries.ts'; import { createEvent, paginated, parseBody, updateEvent } from '@/utils/api.ts'; @@ -22,7 +22,6 @@ import { renderAttachment } from '@/views/mastodon/attachments.ts'; import { renderAccount } from '@/views/mastodon/accounts.ts'; import { Storages } from '@/storages.ts'; import { updateListAdminEvent } from '@/utils/api.ts'; -import { thumbnailSchema } from '@/schemas/activitypub.ts'; const markerSchema = z.enum(['read', 'write']);