This commit is contained in:
caishi 2021-03-04 17:05:27 +08:00
parent 6ea82be73a
commit 1250a9b10b
1 changed files with 2 additions and 2 deletions

View File

@ -70,9 +70,9 @@ function Params(props){
//
function deleteMouldFunc(id,name){
if(id && name){
const url = `/ci/secrets/${id}/${name}.json`;
const url = `/ci/secrets/${id}.json`;
axios.delete(url,{
params:{owner,repo:projectsId}
params:{owner,repo:projectsId,name}
}).then(result=>{
if(result){
Init();