Kaynağa Gözat

fix: sora fetch task route

feitianbubu 6 ay önce
ebeveyn
işleme
4c1f138c0a
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      router/video-router.go

+ 1 - 1
router/video-router.go

@@ -19,7 +19,7 @@ func SetVideoRouter(router *gin.Engine) {
 	// docs: https://platform.openai.com/docs/api-reference/videos/create
 	{
 		videoV1Router.POST("/videos", controller.RelayTask)
-		videoV1Router.GET("/videos/:id", controller.RelayTask)
+		videoV1Router.GET("/videos/:task_id", controller.RelayTask)
 	}
 
 	klingV1Router := router.Group("/kling/v1")