Closed yoty66 closed 1 year ago
Just spent a whole afternoon on that.
Reproduce:
import { createHandler, Get } from 'next-api-decorators'; export const helloBug= ()=> { return "hello bug" } class UserHandler { @Get() public async users() { return await DB.findUsers(); } } export default createHandler(UserHandler);
deploy it to staging
call the EP and get a 404
Can't reproduce the error you're getting with the provided steps.
Please provide a minimum reproducible repository.
Just spent a whole afternoon on that.
Reproduce:
deploy it to staging
call the EP and get a 404