mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Fixed short_code
This commit is contained in:
parent
9fab4a8fe7
commit
cffce564ea
@ -56,7 +56,7 @@ const createOrUpdateLocations = async (userId, locationName, driver) =>{
|
|||||||
'MERGE (l:Location {id: $id}) ' +
|
'MERGE (l:Location {id: $id}) ' +
|
||||||
'SET l.name = $name, ' +
|
'SET l.name = $name, ' +
|
||||||
'l.type = $type, ' +
|
'l.type = $type, ' +
|
||||||
'l.shortCode = $short_code ' +
|
'l.shortCode = $shortCode ' +
|
||||||
'RETURN l.id, l.name, l.type', {
|
'RETURN l.id, l.name, l.type', {
|
||||||
id: ctx.id,
|
id: ctx.id,
|
||||||
name: ctx.text,
|
name: ctx.text,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user