diff --git a/packages/backend/src/server/api/endpoints/bites/create.ts b/packages/backend/src/server/api/endpoints/bites/create.ts index 060dc5f96..c4e28dee2 100644 --- a/packages/backend/src/server/api/endpoints/bites/create.ts +++ b/packages/backend/src/server/api/endpoints/bites/create.ts @@ -1,12 +1,18 @@ import { Bites } from "@/models/index.js"; import define from "../../define.js"; import { createBite } from "@/services/create-bite.js"; +import { MINUTE } from "@/const.js"; export const meta = { tags: ["bites"], requireCredential: true, + limit: { + duration: MINUTE, + max: 30, + }, + res: { type: "object", optional: false,