1
1
mirror of https://github.com/go-gitea/gitea synced 2025-10-31 03:18:24 +00:00
Files
gitea/tests/integration/api_nodeinfo_test.go
KN4CK3R 1b630ff7cd Fix user visible check (#21210)
Fixes #21206

If user and viewer are equal the method should return true.
Also the common organization check was wrong as `count` can never be
less then 0.

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2022-09-20 15:59:20 +08:00

1.0 KiB