From 1b9f5e6349b110939ec7acf82348f8507e190cdd Mon Sep 17 00:00:00 2001 From: Lachie Kermode Date: Mon, 3 Dec 2018 13:01:36 +0000 Subject: [PATCH] return loc/lat/long to required --- src/reducers/schema/eventSchema.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/reducers/schema/eventSchema.js b/src/reducers/schema/eventSchema.js index 5528510..9dd4f90 100644 --- a/src/reducers/schema/eventSchema.js +++ b/src/reducers/schema/eventSchema.js @@ -6,9 +6,9 @@ const eventSchema = Joi.object().keys({ date: Joi.string().required(), time: Joi.string().required(), time_precision: Joi.string().allow(''), - location: Joi.string().allow(''), - latitude: Joi.string().allow(''), - longitude: Joi.string().allow(''), + location: Joi.string().allow('').required(), + latitude: Joi.string().allow('').required(), + longitude: Joi.string().allow('').required(), type: Joi.string().allow(''), category: Joi.string().required(), narrative: Joi.string().allow(''),