1
1
mirror of https://github.com/go-gitea/gitea synced 2025-08-09 02:58:20 +00:00

Fix public activity showing private repos (#892)

* Fix public activity showing private repos (#811)

Signed-off-by: Morgan Bazalgette <the@howl.moe>

* error check after setting is_private to true

* Add test for UpdateRepository w/ visibility change
This commit is contained in:
Morgan Bazalgette
2017-02-11 11:57:57 +01:00
committed by Lunny Xiao
parent a36a8f4d72
commit 442145dbd3
5 changed files with 67 additions and 0 deletions

View File

@@ -93,3 +93,15 @@
num_pulls: 0
num_closed_pulls: 0
is_mirror: false
-
id: 9
owner_id: 11
lower_name: repo9
name: repo9
is_private: false
num_issues: 0
num_closed_issues: 0
num_pulls: 0
num_closed_pulls: 0
is_mirror: false