Skip to content

Commit

Permalink
fix: api url
Browse files Browse the repository at this point in the history
  • Loading branch information
swgvenghy committed Aug 19, 2024
1 parent 950531c commit bac631f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/admin-generate-question.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export async function AdminGenerateQuestion({
},
};
try {
const response = await server_axiosInstance.post('/api/questions/new', JSON.stringify(data), {
const response = await server_axiosInstance.post('/api/admin/questions/new', JSON.stringify(data), {
headers: {
Authorization: `Bearer ${getCookie('accessToken')}`,
'Content-Type': 'application/json',
Expand Down

0 comments on commit bac631f

Please sign in to comment.