Skip to content

Commit

Permalink
fix: wrong path in sell.js
Browse files Browse the repository at this point in the history
  • Loading branch information
louischarnay committed May 29, 2024
1 parent 8e70abb commit 801d77b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ function buildUserCard(){
* @type {HTMLSelectElement}
*/
const cardsSelect = document.querySelector("#cardsSelect");
fetch(`/api/cards/${cardsSelect.value}/user-card`, {
fetch(`/api/usercards/${cardsSelect.value}`, {
method: 'POST',
headers: {
'Content-Type': 'application/json',
Expand Down

0 comments on commit 801d77b

Please sign in to comment.