From feab2d417897fae443601a1475a53be7e66fdd76 Mon Sep 17 00:00:00 2001
From: Ernesto Rico Schmidt <ernesto@helsinki.at>
Date: Tue, 30 Jan 2024 15:17:18 -0400
Subject: [PATCH] fix: think before commit

---
 api/v1/utils.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/api/v1/utils.go b/api/v1/utils.go
index be43ee6..0d6995c 100644
--- a/api/v1/utils.go
+++ b/api/v1/utils.go
@@ -41,7 +41,7 @@ func getShowID(c *gin.Context) (uint64, error) {
 		showID = c.Query("showId")
 	}
 
-	if showID == "" {
+	if showID != "" {
 		return idFromString(showID)
 	}
 
-- 
GitLab