We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83ce24c commit b3956bdCopy full SHA for b3956bd
packages/nextjs/src/routeHandler.ts
@@ -193,7 +193,7 @@ export const createAxiomRouteHandler = <TRequestCreateRouteHandler = NextRequest
193
if (onSuccess) {
194
onSuccess(httpData);
195
} else {
196
- defaultRouteHandlerOnSuccess(logger, httpData);
+ await defaultRouteHandlerOnSuccess(logger, httpData);
197
}
198
};
199
// TODO: this surely can be written better
0 commit comments