Skip to content

Commit

Permalink
Merge pull request #4107 from rtfd/humitos/api/has-valid-clone
Browse files Browse the repository at this point in the history
Add `has_valid_clone` and `has_valid_webhook` to ProjectAdminSerializer
  • Loading branch information
humitos authored May 24, 2018
2 parents 5937cdb + d7b2fd1 commit d72972b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions readthedocs/restapi/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ class Meta(ProjectSerializer.Meta):
'requirements_file',
'python_interpreter',
'features',
'has_valid_clone',
'has_valid_webhook',
)


Expand Down
2 changes: 2 additions & 0 deletions readthedocs/rtd_tests/tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -735,6 +735,8 @@ def test_get_version_by_id(self):
'enable_epub_build': True,
'enable_pdf_build': True,
'features': ['allow_deprecated_webhooks'],
'has_valid_clone': False,
'has_valid_webhook': False,
'id': 6,
'install_project': False,
'language': 'en',
Expand Down

0 comments on commit d72972b

Please sign in to comment.