Skip to content

Commit

Permalink
Fix missing context
Browse files Browse the repository at this point in the history
  • Loading branch information
bbrks committed Sep 14, 2023
1 parent ae73c18 commit ded1914
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/revtree.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func (tree RevTree) MarshalJSON() ([]byte, error) {
}
revIndexes := map[string]int{"": -1}

winner, _, _ := tree.winningRevision()
winner, _, _ := tree.winningRevision(context.TODO())

i := 0
for _, info := range tree {
Expand Down

0 comments on commit ded1914

Please sign in to comment.