Skip to content

Commit 3813216

Browse files
committed
fixup pass route
1 parent 17b5489 commit 3813216

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/nextjs/src/config/wrappers/withSentryGetServerSideProps.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ import { wrapperCore } from './wrapperUtils';
1010
*/
1111
export function withSentryGetServerSideProps(origGetServerSideProps: GSSP['fn'], route: string): GSSP['wrappedFn'] {
1212
return async function (context: GSSP['context']): Promise<GSSP['result']> {
13-
return wrapperCore<GSSP>({ origFunction: origGetServerSideProps, context, route, op: 'getServerSideProps' });
13+
return wrapperCore<GSSP>(origGetServerSideProps, context, route);
1414
};
1515
}

packages/nextjs/src/config/wrappers/withSentryGetStaticProps.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ import { wrapperCore } from './wrapperUtils';
1010
*/
1111
export function withSentryGetStaticProps(origGetStaticProps: GSProps['fn'], route: string): GSProps['wrappedFn'] {
1212
return async function (context: GSProps['context']): Promise<GSProps['result']> {
13-
return wrapperCore<GSProps>({ origFunction: origGetStaticProps, context, route, op: 'getStaticProps' });
13+
return wrapperCore<GSProps>(origGetStaticProps, context, route);
1414
};
1515
}

0 commit comments

Comments
 (0)