This commit is contained in:
Özgür Kesim 2024-01-15 13:41:35 +01:00
parent 0a751aa722
commit 4337b2837d
Signed by: oec
GPG Key ID: F136A7F922D018D7

View File

@ -98,7 +98,7 @@ func (d *Data) getProject() {
e = json.NewDecoder(r.Body).Decode(&p) e = json.NewDecoder(r.Body).Decode(&p)
if len(p.Projects) < 1 { if len(p.Projects) < 1 {
e = fmt.Errorf("no project found with id", d.projectId) e = fmt.Errorf("no project found with id %d", d.projectId)
} else { } else {
// filter out obsolete versions // filter out obsolete versions
project = p.Projects[0] project = p.Projects[0]