logs stream: fix url parameter (#1858)

was missed during #1691
This commit is contained in:
Benedikt Kleiner 2023-06-13 14:40:40 +02:00 committed by GitHub
parent 6be61e6c9a
commit 182a236793
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -187,7 +187,7 @@ func apiRoutes(e *gin.Engine) {
stream := apiBase.Group("/stream")
{
stream.GET("/logs/:owner/:name/:pipeline/:stepId",
stream.GET("/logs/:repo_id/:pipeline/:stepId",
session.SetRepo(),
session.SetPerm(),
session.MustPull,