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:
Eli Ribble 2026-05-01 02:37:54 +00:00
parent 503cde6063
commit 4bd62b3567
No known key found for this signature in database
2 changed files with 97 additions and 92 deletions

View file

@ -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);