aboutsummaryrefslogtreecommitdiff
path: root/src/components/Form/People/RegisterPersonForm.js
diff options
context:
space:
mode:
authorMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-05-05 10:20:41 +0530
committerMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-05-05 10:20:41 +0530
commit499c54e8eb53cf49d8ddae68528eb3a8243101d2 (patch)
treeb0227990ac10376e51423a7886c69e54efa72a29 /src/components/Form/People/RegisterPersonForm.js
parent4df6eaa913737427ddec2561c0ee8c9235f0c95f (diff)
fixed broken API routes and css glitch in form
Diffstat (limited to 'src/components/Form/People/RegisterPersonForm.js')
-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}`