mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Merge pull request #6587 from Ocelot-Social-Community/fix-profile-query
fix(backend): profile query fix
This commit is contained in:
commit
a2e8401476
@ -22,7 +22,7 @@ type Room {
|
||||
avatar: String @cypher(statement: """
|
||||
MATCH (this)<-[:CHATS_IN]-(user:User)
|
||||
WHERE NOT user.id = $cypherParams.currentUserId
|
||||
OPTIONAL MATCH (:User)-[:AVATAR_IMAGE]->(image:Image)
|
||||
OPTIONAL MATCH (user)-[:AVATAR_IMAGE]->(image:Image)
|
||||
RETURN image.url
|
||||
""")
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user