Skip to content

πŸ“¨ The ultimate agentic social media scheduling tool πŸ€–

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

Nevo Davidfcf18fbb1920
diff --git a/libraries/nestjs-libraries/src/integrations/social.abstract.ts b/libraries/nestjs-libraries/src/integrations/social.abstract.ts
index 00234ce2b..250197d69 100644
--- a/libraries/nestjs-libraries/src/integrations/social.abstract.ts
+++ b/libraries/nestjs-libraries/src/integrations/social.abstract.ts
@@ -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(