From 4b7a8477d079d3b47d7e086705f740c869403458 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Nov 03 2016 20:35:52 +0000 Subject: Include the date in the JSON returned This way the user can check/realize that the date they provided was or was not what they wanted. --- diff --git a/pagure/api/user.py b/pagure/api/user.py index 223941b..3625f87 100644 --- a/pagure/api/user.py +++ b/pagure/api/user.py @@ -326,6 +326,9 @@ def api_view_user_activity_date(username, date): js_act.append(activity) jsonout = flask.jsonify( - dict(activities=js_act) + dict( + activities=js_act, + date=date, + ) ) return jsonout