mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-28 01:10:58 +01:00
Fixed broken GitHub stats for organizations (7.1.0 regression)
This commit is contained in:
parent
32ab26a664
commit
ef0979f950
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -225,7 +225,7 @@
|
||||
</script>
|
||||
{% endblock %}
|
||||
{% block scripts %}
|
||||
<script src="{{ 'assets/javascripts/bundle.8697d190.min.js' | url }}"></script>
|
||||
<script src="{{ 'assets/javascripts/bundle.c7d1b464.min.js' | url }}"></script>
|
||||
{% for path in config["extra_javascript"] %}
|
||||
<script src="{{ path | url }}"></script>
|
||||
{% endfor %}
|
||||
|
@ -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 => ({
|
||||
|
Loading…
Reference in New Issue
Block a user