Skip to content

Commit fcf18fb

Browse files
committed
feat: need to change the function to undefined in-case there is not error handleing
1 parent 8b0994f commit fcf18fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/nestjs-libraries/src/integrations/social.abstract.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export abstract class SocialAbstract {
3535
public handleErrors(
3636
body: string
3737
): { type: 'refresh-token' | 'bad-body'; value: string } | undefined {
38-
return { type: 'bad-body', value: 'bad request' };
38+
return undefined;
3939
}
4040

4141
async fetch(

0 commit comments

Comments
 (0)