add spaces

This commit is contained in:
Moriz Wahl 2023-06-20 09:25:23 +02:00 committed by Ulf Gebhardt
parent a080df99aa
commit 1423ff04da
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9

View File

@ -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(