use id for saved points

This commit is contained in:
ThePetrovich 2025-07-03 21:03:52 +08:00
parent ac4af66cd5
commit a1d80eb984
3 changed files with 11 additions and 36 deletions

View file

@ -59,7 +59,7 @@ export const getForecast = async (
throw new Error("CSRF token not found");
}
const response = await fetch("http://localhost:8000/api/predictions", {
const response = await fetch("http://localhost:8000/api/predictions/", {
method: "POST",
headers: {
"Content-Type": "application/json",