1
0

fix(views): make bucket edit work

This commit is contained in:
kolaente
2024-03-16 15:19:17 +01:00
parent 445f1c06fa
commit 27cb6e3372
3 changed files with 14 additions and 15 deletions

View File

@ -48,7 +48,7 @@ func (b *Bucket) canDoBucket(s *xorm.Session, a web.Auth) (bool, error) {
}
pv := &ProjectView{
ID: bb.ProjectViewID,
ProjectID: bb.ProjectID,
ProjectID: b.ProjectID,
}
return pv.CanUpdate(s, a)
}