diff --git a/.gitignore b/.gitignore index 9ad2f651..0d7684f2 100644 --- a/.gitignore +++ b/.gitignore @@ -19,7 +19,7 @@ node_modules .vscode/* # IDE - VSCode -.vscode/* +.vscode/ !.vscode/settings.json !.vscode/tasks.json !.vscode/launch.json diff --git a/README.md b/README.md index fb58d9ac..15df6984 100644 --- a/README.md +++ b/README.md @@ -85,7 +85,7 @@ | Sponsor | Logo | Description | |---------|:-----------------------------------------------------------------------:|-----------------| -| [Hostinger](https://www.hostinger.com/?ref=postiz) | Hostinger | Hostinger is on a mission to make online success possible for anyone – from developers to aspiring bloggers and business owners | +| [Hostinger](https://www.hostinger.com/vps/docker/postiz?ref=postiz) | Hostinger | Hostinger is on a mission to make online success possible for anyone – from developers to aspiring bloggers and business owners | | [Virlo](https://dev.virlo.ai/?ref=postiz) | Virlo | Virlo is the #1 social media trend spotting and all-in-one GTM tool for teams leveraging short-form video | diff --git a/libraries/nestjs-libraries/src/integrations/social/youtube.provider.ts b/libraries/nestjs-libraries/src/integrations/social/youtube.provider.ts index 0254c429..1a7f33fa 100644 --- a/libraries/nestjs-libraries/src/integrations/social/youtube.provider.ts +++ b/libraries/nestjs-libraries/src/integrations/social/youtube.provider.ts @@ -150,7 +150,7 @@ export class YoutubeProvider extends SocialAbstract implements SocialProvider { return { accessToken: credentials.access_token!, expiresIn: unixTimestamp!, - refreshToken: credentials.refresh_token!, + refreshToken: credentials.refresh_token ?? refresh_token, id: data.id!, name: data.name!, picture: data?.picture || '',