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>
{% 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 %}

View File

@ -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 => ({