feat: add sentry report wrapper to every api route in appDir (#19966)
* update oauth tests * fix parseRequestData * add logging * add fallback * use ?? * updates * use parseUrlFormData in saml/callback * update tests * fix * remove log * update * any -> unknown * use HttpErrors * addressed * unknown -> any * feat: Add entry report wrapper to every api route in appDir * fix * fix unit test * fix
This commit is contained in:
1 parent
1e9f3a8060
commit
87bc8d649a
49 files changed
+180
-76
No files matched your search
@@ -59,6 +59,4 @@ async function handler(req: NextRequest) {
|
||||
return NextResponse.json({ message: "First admin user created successfully." });
|
||||
}
|
||||
|
||||
const postHandler = defaultResponderForAppDir(handler);
|
||||
|
||||
export { postHandler as POST };
|
||||
export const POST = defaultResponderForAppDir(handler);
|
||||
Reference in new issue
Block a user