Skip to content

Commit 24162e1

Browse files
authored
fix: space hierarchy excluding current space (#45)
1 parent e25459f commit 24162e1

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

api/src/schema/space.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,15 +78,13 @@ impl Space {
7878
.max_depth(None)
7979
.send()
8080
.await?
81-
.skip(1) // The returned spaces contain the current space
8281
.try_collect::<Vec<_>>()
8382
.await?;
8483

8584
let subspaces = models::space::subspaces(neo4j, &id)
8685
.max_depth(None)
8786
.send()
8887
.await?
89-
.skip(1) // The returned spaces contain the current space
9088
.try_collect::<Vec<_>>()
9189
.await?;
9290

0 commit comments

Comments
 (0)