mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed broken GitHub stats for organizations (7.1.0 regression)
This commit is contained in:
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>
|
</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 %}
|
||||||
|
|||||||
@@ -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 => ({
|
||||||
|
|||||||
Reference in New Issue
Block a user