mirror of
https://codeberg.org/davrot/forgejo.git
synced 2025-05-28 03:00:03 +02:00
add Owner to Context.Repo
This commit is contained in:
parent
7ca8306775
commit
f18c8fc4d9
2 changed files with 3 additions and 0 deletions
|
@ -34,6 +34,7 @@ type Context struct {
|
|||
IsValid bool
|
||||
IsOwner bool
|
||||
Repository *models.Repository
|
||||
Owner *models.User
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue