add missing trailing slashes fixes #43
This commit is contained in:
@@ -11,7 +11,7 @@ export async function fetchAgents() {
|
||||
|
||||
export async function fetchAgentHistory(pk) {
|
||||
try {
|
||||
const { data } = await axios.get(`${baseUrl}/history/${pk}`)
|
||||
const { data } = await axios.get(`${baseUrl}/history/${pk}/`)
|
||||
return data
|
||||
} catch (e) { }
|
||||
}
|
||||
|
||||
@@ -184,7 +184,7 @@ export default function () {
|
||||
.catch(e => { })
|
||||
},
|
||||
loadInstalledSoftware(context, pk) {
|
||||
axios.get(`/software/installed/${pk}`).then(r => {
|
||||
axios.get(`/software/installed/${pk}/`).then(r => {
|
||||
context.commit("SET_INSTALLED_SOFTWARE", r.data.software);
|
||||
})
|
||||
.catch(e => { });
|
||||
|
||||
Reference in New Issue
Block a user