diff --git a/src/components/people/PeopleProvider.js b/src/components/people/PeopleProvider.js index 1b1e792..f0271ce 100644 --- a/src/components/people/PeopleProvider.js +++ b/src/components/people/PeopleProvider.js @@ -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))