Be consistent about using report.public_id over report.id

This commit is contained in:
Eli Ribble 2026-04-14 01:26:23 +00:00
parent 02139450c6
commit 3c62fe2ca1
No known key found for this signature in database
9 changed files with 19 additions and 29 deletions

View file

@ -537,7 +537,7 @@ async function doSubmit() {
});
const data: PublicReport = (await resp.json()) as PublicReport;
storePublicReport.add(data);
router.push("/submitted/" + data.id);
router.push("/submitted/" + data.public_id);
} catch (error) {
errorMessage.value =
error instanceof Error ? error.message : "Upload failed";