mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Update backend/src/schema/resolvers/groups.js
Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
This commit is contained in:
parent
7682aa7e45
commit
82401b1488
@ -36,8 +36,7 @@ export default {
|
||||
const result = await txc.run(groupCypher, {
|
||||
userId: context.user.id,
|
||||
})
|
||||
const group = result.records.map((record) => record.get('group'))
|
||||
return group
|
||||
return result.records.map((record) => record.get('group'))
|
||||
})
|
||||
try {
|
||||
const group = await readTxResultPromise
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user