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.
2 parents 83ce24c + b3956bd commit 86f595bCopy full SHA for 86f595b
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