MCPcopy Create free account
hub / github.com/code100x/cms / DiscordData

Interface DiscordData

src/app/api/admin/content/route.ts:5–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3import { NextRequest, NextResponse } from 'next/server';
4
5interface DiscordData {
6 type: string;
7 thumbnail: string;
8 title: string;
9 courseTitle: string;
10 courseId: number;
11 currFolderId: number;
12 mediaId: number;
13}
14
15const sendUpdateToDiscord = async (data: DiscordData) => {
16 const body = {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected