complete progress section
This commit is contained in:
@@ -7,7 +7,7 @@ export default defineEventHandler(async (event) => {
|
||||
|
||||
|
||||
const formData = await readFormData(event);
|
||||
console.log(formData);
|
||||
|
||||
|
||||
|
||||
try {
|
||||
@@ -19,10 +19,10 @@ export default defineEventHandler(async (event) => {
|
||||
'Authorization': `Bearer ${token}`
|
||||
},
|
||||
});
|
||||
console.log('uplodar', data);
|
||||
|
||||
return data;
|
||||
} catch (error) {
|
||||
console.log(error.data);
|
||||
|
||||
return error;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user