mirror of
https://github.com/xHyroM/bun-discord-bot.git
synced 2024-11-10 01:08:07 +01:00
fix(githubUtils): dont replace repository
This commit is contained in:
parent
fe8563a008
commit
5988542d11
1 changed files with 2 additions and 2 deletions
|
@ -138,7 +138,7 @@ export const setIssue = async(issue: Issue) => {
|
|||
} else {
|
||||
// @ts-expect-error
|
||||
addToDb.run([
|
||||
issue.repository.replace('https://api.github.com/repos/', ''),
|
||||
issue.repository,
|
||||
issue.title,
|
||||
issue.number,
|
||||
issue.state,
|
||||
|
@ -160,7 +160,7 @@ export const setPullRequest = async(pull: PullRequest) => {
|
|||
} else {
|
||||
// @ts-expect-error
|
||||
addToDb.run([
|
||||
pull.repository.replace('https://api.github.com/repos/', ''),
|
||||
pull.repository,
|
||||
pull.title,
|
||||
pull.number,
|
||||
pull.state,
|
||||
|
|
Loading…
Reference in a new issue