add Owner to Context.Repo
This commit is contained in:
@ -34,6 +34,7 @@ type Context struct {
|
||||
IsValid bool
|
||||
IsOwner bool
|
||||
Repository *models.Repository
|
||||
Owner *models.User
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user