File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1360,7 +1360,7 @@ func registerRoutes(m *web.Route) {
13601360 })
13611361 m .Post ("/cancel" , reqRepoActionsWriter , actions .Cancel )
13621362 m .Post ("/approve" , reqRepoActionsWriter , actions .Approve )
1363- m .Post ("/artifacts" , actions .ArtifactsView )
1363+ m .Get ("/artifacts" , actions .ArtifactsView )
13641364 m .Get ("/artifacts/{artifact_name}" , actions .ArtifactsDownloadView )
13651365 m .Post ("/rerun" , reqRepoActionsWriter , actions .Rerun )
13661366 })
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import {createApp} from 'vue';
55import {toggleElem } from ' ../utils/dom.js' ;
66import {getCurrentLocale } from ' ../utils.js' ;
77import {renderAnsi } from ' ../render/ansi.js' ;
8- import {POST } from ' ../modules/fetch.js' ;
8+ import {GET , POST } from ' ../modules/fetch.js' ;
99
1010const sfc = {
1111 name: ' RepoActionView' ,
@@ -196,7 +196,7 @@ const sfc = {
196196 },
197197
198198 async fetchArtifacts () {
199- const resp = await POST (` ${ this .actionsURL } /runs/${ this .runIndex } /artifacts` );
199+ const resp = await GET (` ${ this .actionsURL } /runs/${ this .runIndex } /artifacts` );
200200 return await resp .json ();
201201 },
202202
You can’t perform that action at this time.
0 commit comments