From 944c2a75a9f9f921db3ff9dc79827417986531dd Mon Sep 17 00:00:00 2001 From: digoarthur Date: Sat, 20 Apr 2024 14:53:26 +0100 Subject: [PATCH] fix: banner url path and update docs Readme --- package.json | 2 +- src/hooks/useGithubAutomatedRepos.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 60639be..9005498 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "github-automated-repos", - "version": "1.2.0", + "version": "1.2.2", "description": "Github-automated-repos is the lib that gives you the power to manage the view of your projects on your website in one place!", "main": "index.js", "scripts": { diff --git a/src/hooks/useGithubAutomatedRepos.ts b/src/hooks/useGithubAutomatedRepos.ts index 7116723..3b8fdbd 100644 --- a/src/hooks/useGithubAutomatedRepos.ts +++ b/src/hooks/useGithubAutomatedRepos.ts @@ -51,7 +51,7 @@ export function useGitHubAutomatedRepos(usernameGitHub: string, keyWordDeploy: s description: item.description, topics: item.topics, homepage: item.homepage, - banner: `https://raw.githubusercontent.com/DIGOARTHUR/${item.name}/main/src/assets/imgs/banner.png`, + banner: `https://raw.githubusercontent.com/${usernameGitHub}/${item.name}/main/src/assets/imgs/banner.png`, })); }