mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2026-07-23 22:33:42 -04:00
Fixed broken GitHub stats for organizations (7.1.0 regression)
This commit is contained in:
@@ -83,7 +83,7 @@ export function fetchSourceFactsFromGitHub(
|
||||
|
||||
/* User or organization */
|
||||
} else {
|
||||
const url = `https://api.github.com/repos/${user}`
|
||||
const url = `https://api.github.com/users/${user}`
|
||||
return requestJSON<User>(url)
|
||||
.pipe(
|
||||
map(info => ({
|
||||
|
||||
Reference in New Issue
Block a user