Skip to content
Snippets Groups Projects
Commit 5af67c1b authored by Calen Pennington's avatar Calen Pennington
Browse files

Put course location urls in heartbeat page, rather than lists

parent 57444bdd
No related merge requests found
......@@ -10,6 +10,6 @@ def heartbeat(request):
"""
output = {
'date': datetime.now().isoformat(),
'courses': [course.location for course in modulestore().get_courses()],
'courses': [course.location.url() for course in modulestore().get_courses()],
}
return HttpResponse(json.dumps(output, indent=4))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment