mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
add spaces
This commit is contained in:
parent
3a95e25e1c
commit
85950843f7
@ -22,8 +22,8 @@ export default {
|
|||||||
MATCH (user:User { id: $userId })
|
MATCH (user:User { id: $userId })
|
||||||
MERGE (currentUser)-[:CHATS_IN]->(room:Room)<-[:CHATS_IN]-(user)
|
MERGE (currentUser)-[:CHATS_IN]->(room:Room)<-[:CHATS_IN]-(user)
|
||||||
ON CREATE SET
|
ON CREATE SET
|
||||||
room.createdAt = toString(datetime()),
|
room.createdAt = toString(datetime()),
|
||||||
room.id = apoc.create.uuid()
|
room.id = apoc.create.uuid()
|
||||||
RETURN room { .* }
|
RETURN room { .* }
|
||||||
`
|
`
|
||||||
const createRommTxResponse = await transaction.run(
|
const createRommTxResponse = await transaction.run(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user