Fixed short_code

This commit is contained in:
Grzegorz Leoniec 2019-01-07 17:58:27 +01:00
parent 9fab4a8fe7
commit cffce564ea
No known key found for this signature in database
GPG Key ID: 3AA43686D4EB1377

View File

@ -56,7 +56,7 @@ const createOrUpdateLocations = async (userId, locationName, driver) =>{
'MERGE (l:Location {id: $id}) ' +
'SET l.name = $name, ' +
'l.type = $type, ' +
'l.shortCode = $short_code ' +
'l.shortCode = $shortCode ' +
'RETURN l.id, l.name, l.type', {
id: ctx.id,
name: ctx.text,