mirror of https://github.com/wg-easy/wg-easy
committed by
Bernd Storath
6 changed files with 38 additions and 4 deletions
@ -0,0 +1,9 @@ |
|||
export default defineEventHandler(async (event) => { |
|||
const { file } = await readValidatedBody( |
|||
event, |
|||
validateZod(fileType_, event) |
|||
); |
|||
// TODO: handle migration
|
|||
console.log('fileType_', file); |
|||
return { success: true }; |
|||
}); |
Loading…
Reference in new issue