Skip to content

Commit

Permalink
fix(frontend): pass actual context not word "context"
Browse files Browse the repository at this point in the history
  • Loading branch information
Iamhexi committed Oct 27, 2024
1 parent 3b79fba commit de78114
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
*/
async function generateQuestion(context) {
const body = {
context: "context",
context: context,
};
const options = {
method: 'POST',
Expand Down

0 comments on commit de78114

Please sign in to comment.