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
82401b1488
commit
f150ea3d7c
@ -39,8 +39,7 @@ export default {
|
||||
return result.records.map((record) => record.get('group'))
|
||||
})
|
||||
try {
|
||||
const group = await readTxResultPromise
|
||||
return group
|
||||
return await readTxResultPromise
|
||||
} catch (error) {
|
||||
throw new Error(error)
|
||||
} finally {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user