@@ -941,7 +941,7 @@ func GetArtifactsOfRun(ctx *context.APIContext) {
941941
942942 res .Entries = make ([]* api.ActionArtifact , len (artifacts ))
943943 for i := range artifacts {
944- convertedArtifact , err := convert .ToActionArtifact (ctx , ctx .Repo .Repository , artifacts [i ])
944+ convertedArtifact , err := convert .ToActionArtifact (ctx .Repo .Repository , artifacts [i ])
945945 if err != nil {
946946 ctx .Error (http .StatusInternalServerError , "ToActionArtifact" , err )
947947 return
@@ -1002,7 +1002,7 @@ func GetArtifacts(ctx *context.APIContext) {
10021002
10031003 res .Entries = make ([]* api.ActionArtifact , len (artifacts ))
10041004 for i := range artifacts {
1005- convertedArtifact , err := convert .ToActionArtifact (ctx , ctx .Repo .Repository , artifacts [i ])
1005+ convertedArtifact , err := convert .ToActionArtifact (ctx .Repo .Repository , artifacts [i ])
10061006 if err != nil {
10071007 ctx .Error (http .StatusInternalServerError , "ToActionArtifact" , err )
10081008 return
@@ -1050,7 +1050,7 @@ func GetArtifact(ctx *context.APIContext) {
10501050 }
10511051
10521052 if actions .IsArtifactV4 (art ) {
1053- convertedArtifact , err := convert .ToActionArtifact (ctx , ctx .Repo .Repository , art )
1053+ convertedArtifact , err := convert .ToActionArtifact (ctx .Repo .Repository , art )
10541054 if err != nil {
10551055 ctx .Error (http .StatusInternalServerError , "ToActionArtifact" , err )
10561056 return
0 commit comments