Skip to content

Commit

Permalink
Merge pull request #731 from Amsterdam-Music-Lab/fix/finalize-session
Browse files Browse the repository at this point in the history
fix: refer to session.id from finalizeSession
  • Loading branch information
BeritJanssen authored Jan 23, 2024
2 parents a9111d9 + c166844 commit 73281df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/API.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export const getNextRound = async ({ session }) => {
export const finalizeSession = async ({ session, participant }) => {
try {
const response = await axios.post(
API_BASE_URL + URLS.session.finalize(session.current.id),
API_BASE_URL + URLS.session.finalize(session.id),
qs.stringify({
csrfmiddlewaretoken: participant.csrf_token,
})
Expand Down

0 comments on commit 73281df

Please sign in to comment.