Exam generation rework, batch user tables, fastapi endpoint switch

This commit is contained in:
Carlos-Mesquita
2024-11-04 23:29:14 +00:00
parent a2bc997e8f
commit 15c9c4d4bd
148 changed files with 11348 additions and 3901 deletions

View File

@@ -20,7 +20,7 @@ async function handler(req: NextApiRequest, res: NextApiResponse) {
async function post(req: NextApiRequest, res: NextApiResponse) {
try {
const response = await axios.post(`${process.env.BACKEND_URL}/training_content`, req.body, {
const response = await axios.post(`${process.env.BACKEND_URL}/training/`, req.body, {
headers: {
Authorization: `Bearer ${process.env.BACKEND_JWT}`,
},