mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Rename variable
This commit is contained in:
parent
f2ab84a5e9
commit
3020a38de2
@ -99,7 +99,7 @@ export default {
|
||||
// Wolle console.log('cypher: ', cypher)
|
||||
// console.log('disable: ', disable)
|
||||
|
||||
const newDecisionWriteTxResultPromise = session.writeTransaction(async txc => {
|
||||
const mutateDecisionWriteTxResultPromise = session.writeTransaction(async txc => {
|
||||
const mutateDecisionTransactionResponse = await txc.run(
|
||||
cypher, {
|
||||
resourceId,
|
||||
@ -115,7 +115,7 @@ export default {
|
||||
type: record.get('type'),
|
||||
}))
|
||||
})
|
||||
const txResult = await newDecisionWriteTxResultPromise
|
||||
const txResult = await mutateDecisionWriteTxResultPromise
|
||||
if (!txResult[0]) return null
|
||||
const { decision, resource, moderator: moderatorInResult, type } = txResult[0]
|
||||
createdRelationshipWithNestedAttributes = {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user