Skip to content

Commit

Permalink
Update student.book.id to student.book_id
Browse files Browse the repository at this point in the history
  • Loading branch information
stevebrownlee committed Feb 21, 2024
1 parent 48cdc5c commit 425c731
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/people/PeopleProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export const PeopleProvider = (props) => {
return fetchIt(`${Settings.apiHost}/students/${student.id}/assess`, {
method: "POST",
body: JSON.stringify({
bookId: student.book.id
bookId: student.book_id
})
})
.catch(error => alert(error))
Expand Down

0 comments on commit 425c731

Please sign in to comment.