File tree 2 files changed +3
-3
lines changed 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) {
1360
1360
})
1361
1361
m .Post ("/cancel" , reqRepoActionsWriter , actions .Cancel )
1362
1362
m .Post ("/approve" , reqRepoActionsWriter , actions .Approve )
1363
- m .Post ("/artifacts" , actions .ArtifactsView )
1363
+ m .Get ("/artifacts" , actions .ArtifactsView )
1364
1364
m .Get ("/artifacts/{artifact_name}" , actions .ArtifactsDownloadView )
1365
1365
m .Post ("/rerun" , reqRepoActionsWriter , actions .Rerun )
1366
1366
})
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import {createApp} from 'vue';
5
5
import {toggleElem } from ' ../utils/dom.js' ;
6
6
import {getCurrentLocale } from ' ../utils.js' ;
7
7
import {renderAnsi } from ' ../render/ansi.js' ;
8
- import {POST } from ' ../modules/fetch.js' ;
8
+ import {GET , POST } from ' ../modules/fetch.js' ;
9
9
10
10
const sfc = {
11
11
name: ' RepoActionView' ,
@@ -196,7 +196,7 @@ const sfc = {
196
196
},
197
197
198
198
async fetchArtifacts () {
199
- const resp = await POST (` ${ this .actionsURL } /runs/${ this .runIndex } /artifacts` );
199
+ const resp = await GET (` ${ this .actionsURL } /runs/${ this .runIndex } /artifacts` );
200
200
return await resp .json ();
201
201
},
202
202
You can’t perform that action at this time.
0 commit comments