apiRouteMiddleware
* chore: remove try and catch from api routes in app router * refactor * refactor apiRouteMiddleware * refactor