summaryrefslogtreecommitdiff
path: root/templates/apps/stats/user.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/apps/stats/user.html')
-rw-r--r--templates/apps/stats/user.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/apps/stats/user.html b/templates/apps/stats/user.html
index 8568697..566317c 100644
--- a/templates/apps/stats/user.html
+++ b/templates/apps/stats/user.html
@@ -2,7 +2,7 @@
{% load datehumanize %}
{% block widgets %}
$.ajax({
- url: '/api/stats/user/{{username}}',
+ url: '/api/stats/?user={{request.user.id}}',
method: 'GET',
beforeSend: function() { $('#graph').spin("flotload"); },
success: function (resp) {