From 71fd5dbe37b582733f9b96607c034cb1c37d1aa9 Mon Sep 17 00:00:00 2001 From: dragongoose Date: Mon, 21 Aug 2023 23:43:54 -0400 Subject: [PATCH] More sensical link --- routes/api/clips/clips.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/api/clips/clips.go b/routes/api/clips/clips.go index 1899d39..13bfafd 100644 --- a/routes/api/clips/clips.go +++ b/routes/api/clips/clips.go @@ -10,7 +10,7 @@ import ( func Routes(route *gin.Engine) { clips := route.Group("/api/clips") - clips.GET("/getlink/:slug", func(context *gin.Context) { + clips.GET("/cliplink/:slug", func(context *gin.Context) { slug := context.Param("slug") data, err := twitch.GetClipLink(slug) if err != nil {