forgejo/routers/api/v1
zeripath c42c31a111
Correctly set the organization num repos (#11339)
* Correctly set the organization num repos

Correctly set the organization num repos to the number of
accessible repos for the user

Fix #11194

Signed-off-by: Andrew Thornton <art27@cantab.net>

* as per @lunny

Signed-off-by: Andrew Thornton <art27@cantab.net>

* attempt to fix mssql

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Update models/user.go

* Explicit columns

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Add test and fix 0 counted orgs

Signed-off-by: Andrew Thornton <art27@cantab.net>

* remove orgname from api

Signed-off-by: Andrew Thornton <art27@cantab.net>
2020-05-12 01:04:08 +03:00
..
admin
misc
notify
org
repo Consolidate API for getting single commit (#11368) 2020-05-11 12:44:36 +03:00
swagger API: Add pull review endpoints (#11224) 2020-05-02 03:20:51 +03:00
user Refactor UpdateOAuth2Application (#11034) 2020-04-30 18:50:47 +01:00
utils
api.go Correctly set the organization num repos (#11339) 2020-05-12 01:04:08 +03:00