Fixes destroy endpoint
This commit is contained in:
parent
c34a47c39a
commit
dce6119de0
|
@ -29,10 +29,10 @@ export const fetchList = ({ commit }, { repo, page }) => {
|
|||
});
|
||||
};
|
||||
|
||||
export const deleteRepo = ({ commit }, repo) => Vue.http.delete(repo.path)
|
||||
export const deleteRepo = ({ commit }, repo) => Vue.http.delete(repo.destroyPath)
|
||||
.then(res => res.json());
|
||||
|
||||
export const deleteRegistry = ({ commit }, image) => Vue.http.delete(image.path)
|
||||
export const deleteRegistry = ({ commit }, image) => Vue.http.delete(image.destroyPath)
|
||||
.then(res => res.json());
|
||||
|
||||
export const setMainEndpoint = ({ commit }, data) => commit(types.SET_MAIN_ENDPOINT, data);
|
||||
|
|
Loading…
Reference in New Issue