Skip to content

Commit

Permalink
Update relationshipWriter.go
Browse files Browse the repository at this point in the history
  • Loading branch information
tolgaOzen committed Dec 8, 2022
1 parent fee1032 commit 26474eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/repositories/memory/relationshipWriter.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func (r *RelationshipWriter) DeleteRelationships(ctx context.Context, filter *ba
}

fit := memdb.NewFilterIterator(it, utils.FilterQuery(filter))
for obj := fit.Next(); obj != nil; obj = it.Next() {
for obj := fit.Next(); obj != nil; obj = fit.Next() {
t := obj.(repositories.RelationTuple)
err = txn.Delete(RelationTuplesTable, t)
if err != nil {
Expand Down

0 comments on commit 26474eb

Please sign in to comment.