mirror of
https://codeberg.org/SafeTwitch/safetwitch-backend.git
synced 2024-12-22 05:02:58 -05:00
More sensical link
This commit is contained in:
parent
cc1f5ef77b
commit
71fd5dbe37
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue