6 lines
154 B
JavaScript
6 lines
154 B
JavaScript
|
import { get } from '../../controller'
|
||
|
|
||
|
export default defineEventHandler(event => {
|
||
|
console.error(event)
|
||
|
return get(event.context.params.name)
|
||
|
})
|