Skip to content

Commit 9982416

Browse files
authored
Merge pull request #3155 from CVEProject/dr_attempted_fix
the one where dave does not know how to code
2 parents 75caabe + 400e89a commit 9982416

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/stores/cveListSearch.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { defineStore } from 'pinia';
2+
import { useGenericGlobalsStore } from './genericGlobals';
23
import axios from 'axios';
34

45
export const useCveListSearchStore = defineStore('cveListSearch ', {
@@ -108,7 +109,7 @@ export const useCveListSearchStore = defineStore('cveListSearch ', {
108109
const getRecordUrl = `/api/cve/${this.cveId}`;
109110

110111
try {
111-
axios.defaults.baseURL = useCveListSearchStore().currentServicesUrl;
112+
axios.defaults.baseURL = useGenericGlobalsStore().currentServicesUrl;
112113
const response = await axios.get(getRecordUrl);
113114
const cveRecordData = response?.data || {};
114115
this.isArecord = true;

0 commit comments

Comments
 (0)