diff --git a/src/stores/allMapData.js b/src/stores/allMapData.js index b3df85f..b5bbbf9 100644 --- a/src/stores/allMapData.js +++ b/src/stores/allMapData.js @@ -80,11 +80,13 @@ export default defineStore('allMapDataStore', { */ async getAllTrace() { let logId = this.logId; - const api = `/api/filters/params?log_id=${logId}`; + // const api = `/api/filters/params?log_id=${logId}`; + const api = `/api/logs/${logId}/traces`; try { const response = await this.$axios.get(api); - this.allTrace = response.data.traces; + console.log(response); + this.allTrace = response.data; if(this.httpStatus < 300) loading.isLoading = false; } catch(error) {