diff --git a/infrastructure/services/rides/update.js b/infrastructure/services/rides/update.js index d43eb747..1248f338 100644 --- a/infrastructure/services/rides/update.js +++ b/infrastructure/services/rides/update.js @@ -36,7 +36,7 @@ module.exports.update = (event, context, callback) => { fbLink: `${escape(data.fbLink)}`, driverGender: `${escape(data.driverGender)}`, carType: `${escape(data.carType)}`, - status: `${data.status}`, + status: `${escape(data.status)}`, deleted: `0`, suburbFrom: `${escape(data.locationFrom.suburb)}`, placeNameFrom: `${escape(data.locationFrom.placeName)}`,