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 @@ -1374,7 +1374,7 @@ func registerRoutes(m *web.Route) {
1374
1374
})
1375
1375
m .Post ("/cancel" , reqRepoActionsWriter , actions .Cancel )
1376
1376
m .Post ("/approve" , reqRepoActionsWriter , actions .Approve )
1377
- m .Post ("/artifacts" , actions .ArtifactsView )
1377
+ m .Get ("/artifacts" , actions .ArtifactsView )
1378
1378
m .Get ("/artifacts/{artifact_name}" , actions .ArtifactsDownloadView )
1379
1379
m .Delete ("/artifacts/{artifact_name}" , actions .ArtifactsDeleteView )
1380
1380
m .Post ("/rerun" , reqRepoActionsWriter , actions .Rerun )
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 {formatDatetime } from ' ../utils/time.js' ;
7
7
import {renderAnsi } from ' ../render/ansi.js' ;
8
- import {POST , DELETE } from ' ../modules/fetch.js' ;
8
+ import {GET , POST , DELETE } 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