feat: need to change the function to undefined in-case there is not error handleing

This commit is contained in:
Nevo David 2025-07-11 12:49:01 +07:00
parent 8b0994f8c7
commit fcf18fbb19
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ export abstract class SocialAbstract {
public handleErrors(
body: string
): { type: 'refresh-token' | 'bad-body'; value: string } | undefined {
return { type: 'bad-body', value: 'bad request' };
return undefined;
}
async fetch(