add tests for repository
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 4s

This commit is contained in:
Thomas Peetz
2026-10-06 17:11:42 +02:00
parent 32f3f034eb
commit 980eda29af
9 changed files with 154 additions and 17 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ type SportHandler struct {
}
func (handler *SportHandler) List(c *gin.Context) {
sports, err := handler.Service.List(c.Request.Context())
sports, _, err := handler.Service.List(c.Request.Context())
if err != nil {
c.JSON(http.StatusInternalServerError, gin.H{"error": err.Error()})
return