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:
committed by
Lunny Xiao
parent
a36a8f4d72
commit
442145dbd3
@@ -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
|
||||
|
Reference in New Issue
Block a user