this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

search: use real ctx (#654)

authored by

bnewbold and committed by
GitHub
678b4ab8 c8a4623c

+2 -2
+2 -2
search/handlers.go
··· 107 107 } 108 108 } 109 109 if atid.IsHandle() { 110 - ident, err := s.dir.Lookup(context.TODO(), *atid) 110 + ident, err := s.dir.Lookup(e.Request().Context(), *atid) 111 111 if err != nil { 112 112 return e.JSON(400, map[string]any{ 113 113 "error": "BadRequest", ··· 134 134 } 135 135 } 136 136 if atid.IsHandle() { 137 - ident, err := s.dir.Lookup(context.TODO(), *atid) 137 + ident, err := s.dir.Lookup(e.Request().Context(), *atid) 138 138 if err != nil { 139 139 return e.JSON(400, map[string]any{ 140 140 "error": "BadRequest",