1
0

fix: compile errors

This commit is contained in:
kolaente
2023-03-14 15:35:03 +01:00
parent 93056da792
commit a21bff3ffb
5 changed files with 24 additions and 60 deletions

View File

@ -874,7 +874,7 @@ func (p *Project) Create(s *xorm.Session, a web.Auth) (err error) {
// @Router /projects/{id} [delete]
func (p *Project) Delete(s *xorm.Session, a web.Auth) (err error) {
fullList, err := GetProjectSimpleByID(s, l.ID)
fullList, err := GetProjectSimpleByID(s, p.ID)
if err != nil {
return
}