aboutsummaryrefslogtreecommitdiff
path: root/src/components/Form/People
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/Form/People')
-rw-r--r--src/components/Form/People/RegisterPersonForm.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/Form/People/RegisterPersonForm.js b/src/components/Form/People/RegisterPersonForm.js
index bca3bde..42cfb2e 100644
--- a/src/components/Form/People/RegisterPersonForm.js
+++ b/src/components/Form/People/RegisterPersonForm.js
@@ -30,7 +30,7 @@ const RegisterPersonForm = (props) => {
event.preventDefault();
// TODO: show confirmation before being invisible
axios.post(
- `/api/people/`
+ `/api/people/register/`
+ `?name=${newPersonName}`
+ `&phone=${newPersonPhone}`
+ `&email=${newPersonEmail}`