mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2026-01-20 20:01:25 +00:00
552-update_comment
This commit is contained in:
parent
7ddbab83e9
commit
3fe8e9a288
@ -88,8 +88,6 @@ export default {
|
||||
|
||||
// Destructure content from session results array
|
||||
const [comment] = commentQueryRes.records.map(record => {
|
||||
const a = record.get('comment')
|
||||
console.log(a)
|
||||
return record.get('comment')
|
||||
})
|
||||
|
||||
@ -110,7 +108,7 @@ export default {
|
||||
await session.run(
|
||||
`
|
||||
MATCH (comment: Comment { id:$id})
|
||||
SET comment.content = 'bbb'
|
||||
SET comment.content = $content
|
||||
`,
|
||||
{
|
||||
id,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user