fix(githubUtils): dont replace repository

This commit is contained in:
xHyroM 2022-07-14 08:59:18 +02:00
parent fe8563a008
commit 5988542d11

View file

@ -138,7 +138,7 @@ export const setIssue = async(issue: Issue) => {
} else { } else {
// @ts-expect-error // @ts-expect-error
addToDb.run([ addToDb.run([
issue.repository.replace('https://api.github.com/repos/', ''), issue.repository,
issue.title, issue.title,
issue.number, issue.number,
issue.state, issue.state,
@ -160,7 +160,7 @@ export const setPullRequest = async(pull: PullRequest) => {
} else { } else {
// @ts-expect-error // @ts-expect-error
addToDb.run([ addToDb.run([
pull.repository.replace('https://api.github.com/repos/', ''), pull.repository,
pull.title, pull.title,
pull.number, pull.number,
pull.state, pull.state,