Update backend/src/schema/resolvers/groups.js

Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
This commit is contained in:
Wolfgang Huß 2022-08-10 12:52:31 +02:00 committed by GitHub
parent 82401b1488
commit f150ea3d7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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