Skip to content

Commit a572171

Browse files
author
David T Rocca
committed
being more explicit about calling the right value
1 parent d13467b commit a572171

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/views/CVERecord/CVERecord.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ import PublishedRecord from './PublishedRecord.vue';
7979
import RejectedRecordOrId from './RejectedRecordOrId.vue';
8080
import ReservedId from './ReservedId.vue';
8181
import { usecveRecordStore } from '@/stores/cveRecord.ts';
82+
import { useGenericGlobalsStore } from '@/stores/genericGlobals';
8283
import ServiceUnavailable from '@/components/ServiceUnavailable.vue';
8384
import axios from 'axios';
8485
@@ -264,7 +265,7 @@ export default {
264265
}
265266
},
266267
async getRecordData() {
267-
const getRecordUrl = `${this.GenericGlobalsStore.currentServicesUrl}/api/cve/${usecveRecordStore().cveId}`;
268+
const getRecordUrl = `${useGenericGlobalsStore().currentServicesUrl}/api/cve/${usecveRecordStore().cveId}`;
268269
if (this.GenericGlobalsStore.useSearch) {
269270
this.isResultFromProd = true;
270271
} else {

0 commit comments

Comments
 (0)