From 514f6a76414c9bb282ce04c9c1861db4f38dc889 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Dec 01 2015 08:51:27 +0000 Subject: Adjust the JSON key from `files` to `changelogs` to reflect the content --- diff --git a/mdapi/__init__.py b/mdapi/__init__.py index d038363..89965d9 100644 --- a/mdapi/__init__.py +++ b/mdapi/__init__.py @@ -202,7 +202,7 @@ def get_pkg_changelog(request): session2.close() output = { - 'files': [changelog.to_json() for changelog in changelogs], + 'changelogs': [changelog.to_json() for changelog in changelogs], 'repo': repotype if repotype else 'release', } args = {}