mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
#1692 add organization APIs
This commit is contained in:
@@ -54,7 +54,7 @@ func getForkRepository(ctx *middleware.Context) *models.Repository {
|
||||
}
|
||||
ctx.Data["ForkFrom"] = forkRepo.Owner.Name + "/" + forkRepo.Name
|
||||
|
||||
if err := ctx.User.GetOrganizations(); err != nil {
|
||||
if err := ctx.User.GetOrganizations(true); err != nil {
|
||||
ctx.Handle(500, "GetOrganizations", err)
|
||||
return nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user