Exam generation rework, batch user tables, fastapi endpoint switch
This commit is contained in:
@@ -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}`,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user