π¨ The ultimate agentic social media scheduling tool π€
TypeScript nextjsopen-sourceopen-source-social-media-scheduling-toolosspostiz-cloudpostiz-hostedredisscheduling-toolsocial-media-scheduling-tooltypescript
fix: tiktok
Nevo David1d9af510e51c
diff --git a/apps/frontend/src/components/new-launch/editor.tsx b/apps/frontend/src/components/new-launch/editor.tsxindex 87ff52d2e..b75921509 100644--- a/apps/frontend/src/components/new-launch/editor.tsx+++ b/apps/frontend/src/components/new-launch/editor.tsx@@ -571,7 +571,7 @@ export const Editor: FC<{uppy.clear();},allowedFileTypes: 'image/*,video/mp4',- onStart: () => setLoading(true),+ onStart: () => {},onEnd: () => setLoading(false),});@@ -634,7 +634,9 @@ export const Editor: FC<{return;}- setLoading(true);+ if (files.length > 0) {+ setLoading(true);+ }for (const file of files) {uppy.addFile(file);@@ -646,8 +648,11 @@ export const Editor: FC<{const { getRootProps, isDragActive } = useDropzone({onDrop: (files) => {if (loading) {- toaster.show('Upload current in progress, please wait and then try again.', 'warning');- return ;+ toaster.show(+ 'Upload current in progress, please wait and then try again.',+ 'warning'+ );+ return;}onDrop(files);},diff --git a/libraries/nestjs-libraries/src/integrations/social/tiktok.provider.ts b/libraries/nestjs-libraries/src/integrations/social/tiktok.provider.tsindex d6b529603..96a0bbb1b 100644--- a/libraries/nestjs-libraries/src/integrations/social/tiktok.provider.ts+++ b/libraries/nestjs-libraries/src/integrations/social/tiktok.provider.ts@@ -52,7 +52,7 @@ export class TiktokProvider extends SocialAbstract implements SocialProvider {if (body.indexOf('scope_not_authorized') > -1) {return {- type: 'refresh-token' as const,+ type: 'bad-body' as const,value:'Missing required permissions, please re-authenticate with all scopes',};@@ -60,7 +60,7 @@ export class TiktokProvider extends SocialAbstract implements SocialProvider {if (body.indexOf('scope_permission_missed') > -1) {return {- type: 'refresh-token' as const,+ type: 'bad-body' as const,value: 'Additional permissions required, please re-authenticate',};}