MCPcopy
hub / github.com/LAION-AI/Open-Assistant / reject_task.ts

File reject_task.ts

website/src/pages/api/reject_task.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { Prisma } from "@prisma/client";
2import { withoutRole } from "src/lib/auth";
3import { createApiClient } from "src/lib/oasst_client_factory";
4import prisma from "src/lib/prismadb";

Callers

nothing calls this directly

Calls 3

withoutRoleFunction · 0.90
createApiClientFunction · 0.90
nackTaskMethod · 0.80

Tested by

no test coverage detected