Skip to content
Snippets Groups Projects
Commit 05c5e6a8 authored by Tonge, Marcus A (UG - Comp Sci & Elec Eng)'s avatar Tonge, Marcus A (UG - Comp Sci & Elec Eng)
Browse files

Postcode updated

parent 17384c03
Branches master
No related tags found
No related merge requests found
...@@ -102,7 +102,7 @@ const AdminPageView = () => { ...@@ -102,7 +102,7 @@ const AdminPageView = () => {
// Add a new location // Add a new location
const addLocation = async (location) => { const addLocation = async (location) => {
const { Title, Description, city, street_address, const { Title, Description, city, street_address, postcode,
lat, lon, total_spaces} = location; lat, lon, total_spaces} = location;
console.log(JSON.stringify({ console.log(JSON.stringify({
...@@ -110,6 +110,7 @@ const AdminPageView = () => { ...@@ -110,6 +110,7 @@ const AdminPageView = () => {
Description: Description, Description: Description,
city: city, city: city,
street_address: street_address, street_address: street_address,
postcode: postcode,
lat: lat, lat: lat,
lon: lon, lon: lon,
total_spaces: total_spaces, total_spaces: total_spaces,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment