#107 Fix returning the active status of a package
Merged 5 years ago by pingou. Opened 5 years ago by pingou.

file modified
+1 -1
@@ -111,7 +111,7 @@ 

      # Check if the project is retired in PDC

      active = _is_active_in_pdc(repo.name, repo.namespace)

  

-     output = {"active": False}

+     output = {"active": active}

      return flask.jsonify(output)

  

  

Well, this is embarrassing, we made the API endpoint always
return False so we could debug the behavior of the UI in that
situation and somehow this slipped through the PR and landed
in a review. Quite unfornatunate.
This commit aims at fixing this issue.

Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr

Pull-Request has been merged by pingou

5 years ago
Metadata