sw show page

This commit is contained in:
2026-01-27 21:31:47 +01:00
parent cb4fdb4071
commit 645c8966c4
6 changed files with 62 additions and 31 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ func (c *PlayController) Play(w http.ResponseWriter, r *http.Request) {
name := chi.URLParam(r, "name")
version := chi.URLParam(r, "version")
software, err := c.softwareService.GetByNameWithReleases(name)
software, err := c.softwareService.GetByName(name)
if err != nil {
if err == domain.ErrSoftwareNotFound {
http.Error(w, "Software not found", http.StatusNotFound)