up
This commit is contained in:
parent
3f0ea1c184
commit
80e71bf326
@ -22,7 +22,7 @@ async function validatePath() {
|
||||
const response = await fetch('/validate-path', {
|
||||
method: 'POST',
|
||||
headers: { 'Content-Type': 'application/json' },
|
||||
body: JSON.stringify({ path }),
|
||||
body: JSON.stringify({ pathName: path }), // <- ici on envoie pathName et plus path
|
||||
});
|
||||
|
||||
if (response.ok) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user