Skip to content

Commit

Permalink
fix(objects): cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
didimitrie committed Jun 19, 2024
1 parent d24e95c commit 6d08aba
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion packages/server/modules/core/graph/resolvers/objects.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ module.exports = {
})
result.objects.forEach((x) => (x.streamId = parent.streamId))
return {
totalCount: parent.totalChildrenCount,
totalCount: parent.totalChildrenCount || '0',
cursor: result.cursor,
objects: result.objects
}
Expand Down
6 changes: 0 additions & 6 deletions packages/server/modules/core/services/objects.js
Original file line number Diff line number Diff line change
Expand Up @@ -282,12 +282,6 @@ module.exports = {
depth = parseInt(depth) || 1000

let fullObjectSelect = false
// TODO
// const q = Closures()
// q.select('id')
// q.select('createdAt')
// q.select('speckleType')
// q.select('totalChildrenCount')

const q = knex.with(
'object_children_closure',
Expand Down

0 comments on commit 6d08aba

Please sign in to comment.