feat: need to change the function to undefined in-case there is not error handleing
This commit is contained in:
parent
8b0994f8c7
commit
fcf18fbb19
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Reference in New Issue