Skip to content

Commit

Permalink
save image information on clicking checkbox
Browse files Browse the repository at this point in the history
  • Loading branch information
sumn2u committed Jun 21, 2024
1 parent 166d3af commit 0c84d8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/utils/send-data-to-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const saveActiveImage = (activeImage) => {
}

return new Promise((resolve, reject) => {
axios.post(`${config.SERVER_URL}/activeImage`, imageData)
axios.post(`${config.SERVER_URL}/save`, imageData)
.then(response => {
resolve(response.data); // Resolve with response data
})
Expand Down

0 comments on commit 0c84d8e

Please sign in to comment.