File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
libraries/nestjs-libraries/src/integrations/social Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,10 @@ import {
55 SocialProvider ,
66} from '@gitroom/nestjs-libraries/integrations/social/social.integrations.interface' ;
77import dayjs from 'dayjs' ;
8- import { SocialAbstract } from '@gitroom/nestjs-libraries/integrations/social.abstract' ;
8+ import {
9+ BadBody ,
10+ SocialAbstract ,
11+ } from '@gitroom/nestjs-libraries/integrations/social.abstract' ;
912import { TikTokDto } from '@gitroom/nestjs-libraries/dtos/posts/providers-settings/tiktok.dto' ;
1013
1114export class TiktokProvider extends SocialAbstract implements SocialProvider {
@@ -183,7 +186,10 @@ export class TiktokProvider extends SocialAbstract implements SocialProvider {
183186 } ,
184187 ] ;
185188 } catch ( err ) {
186- return [ ] ;
189+ throw new BadBody ( JSON . stringify ( err ) , {
190+ // @ts -ignore
191+ postDetails
192+ } ) ;
187193 }
188194 }
189195}
You can’t perform that action at this time.
0 commit comments