Fix publicreport store name pollution
This was causing a request to be made to the wrong API endpoint by going to /api/publicreport instead of /api/rm/publicreport which doesn't work on RMO's hostname.
This commit is contained in:
parent
503cde6063
commit
4bd62b3567
2 changed files with 97 additions and 92 deletions
|
|
@ -9,7 +9,7 @@ import {
|
|||
type PublicReportUpdate,
|
||||
} from "@/type/api";
|
||||
|
||||
export const useStorePublicReport = defineStore("publicreport", () => {
|
||||
export const useStorePublicReport = defineStore("rmo-publicreport", () => {
|
||||
// State
|
||||
const _byURI = ref<Map<string, PublicReport>>(new Map());
|
||||
const loading = ref(false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue