Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: support different repository providers #55

Merged
merged 10 commits into from
Mar 1, 2023
Merged
Next Next commit
fix: broken ungh link
dnldsht committed Nov 30, 2022
commit ab1e587d334615a75196c0a0974ea9caef2d2697
2 changes: 1 addition & 1 deletion src/markdown.ts
Original file line number Diff line number Diff line change
@@ -62,7 +62,7 @@ export async function generateMarkDown (commits: GitCommit[], config: ChangelogC
await Promise.all(Array.from(_authors.keys()).map(async (authorName) => {
const meta = _authors.get(authorName)
for (const email of meta.email) {
const { user } = await fetch(`https://ungh.unjs.io/user/find/${email}`)
const { user } = await fetch(`https://ungh.cc/users/find/${email}`)
.then(r => r.json())
.catch(() => ({ user: null }))
if (user) {