♻️ refactor: align bulk-insert implementation with latest Elysia standards

This commit is contained in:
2026-03-07 14:57:16 +07:00
parent 0b786206e4
commit 5a4e4d04a4
6 changed files with 89 additions and 61 deletions

View File

@ -15,7 +15,6 @@ import { bulkInsertMediaSchema } from "../schemas/bulkInsertMedia.schema";
export const bulkInsertMediaController = async (ctx: {
set: Context["set"];
body: Static<typeof bulkInsertMediaSchema.body>;
query: Static<typeof bulkInsertMediaSchema.query>;
}) => {
try {
const bulkInsertResult = await bulkInsertAnimeService(ctx.body.mal_id);