Fix request to /generate endpoint

This commit is contained in:
2025-03-06 23:44:08 -06:00
parent b46ba6fd2c
commit 37a13d2e7b
2 changed files with 3 additions and 3 deletions

View File

@@ -48,7 +48,7 @@ base:
display: Completionist
crystals_ganon:
display: Crystals for Ganon
default: 7
default: "7"
values:
7:
display: 7
@@ -70,7 +70,7 @@ base:
display: Random
crystals_gt:
display: Crystals for GT
default: 7
default: "7"
values:
7:
display: 7

View File

@@ -33,7 +33,7 @@ export default defineComponent({
for (const setting of Object.keys(this.$data)) {
settings[setting] = this.$data[setting];
}
await axios.post("/generate", {settings: settings})
await axios.post("/generate", settings)
.then(response => {
const id = response.data;
this.$router.push(`/seed/${id}`);