fix api path

This commit is contained in:
liamcottle
2024-03-13 21:04:27 +13:00
parent 1e5cd0b3c8
commit 3461ffe9b1

View File

@ -247,7 +247,7 @@
}, },
methods: { methods: {
loadHardwareModelStats: function() { loadHardwareModelStats: function() {
window.axios.get('/api/v1/stats/hardware').then((response) => { window.axios.get('/api/v1/stats/hardware-models').then((response) => {
this.hardwareModelStats = response.data.hardware_model_stats; this.hardwareModelStats = response.data.hardware_model_stats;
}).catch((error) => { }).catch((error) => {
// do nothing // do nothing