complete progress section
This commit is contained in:
@@ -2,7 +2,7 @@ export default defineEventHandler(async (event) => {
|
||||
const { public: { apiBase } } = useRuntimeConfig();
|
||||
const token = getCookie(event, 'token');
|
||||
const body = await readBody(event);
|
||||
console.log(body);
|
||||
|
||||
try {
|
||||
const data = await $fetch(`${apiBase}/courseHeadlineComment/create`, {
|
||||
method: 'POST',
|
||||
@@ -12,7 +12,7 @@ console.log(body);
|
||||
},
|
||||
body
|
||||
});
|
||||
console.log(data);
|
||||
|
||||
return data;
|
||||
} catch (error) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user