1
0
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:
squidfunk 2021-10-01 11:03:49 +02:00
parent 32ab26a664
commit ef0979f950
4 changed files with 5 additions and 5 deletions

View File

@ -225,7 +225,7 @@
</script> </script>
{% endblock %} {% endblock %}
{% block scripts %} {% 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"] %} {% for path in config["extra_javascript"] %}
<script src="{{ path | url }}"></script> <script src="{{ path | url }}"></script>
{% endfor %} {% endfor %}

View File

@ -83,7 +83,7 @@ export function fetchSourceFactsFromGitHub(
/* User or organization */ /* User or organization */
} else { } else {
const url = `https://api.github.com/repos/${user}` const url = `https://api.github.com/users/${user}`
return requestJSON<User>(url) return requestJSON<User>(url)
.pipe( .pipe(
map(info => ({ map(info => ({