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 {
// @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,