Skip to content

Commit

Permalink
Use new AtIdentifier helper
Browse files Browse the repository at this point in the history
  • Loading branch information
ericvolp12 committed Oct 10, 2023
1 parent 473fca6 commit 3145474
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions search/indexing.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,7 @@ func (s *Server) indexProfile(ctx context.Context, ident *identity.Identity, rec
func (s *Server) updateUserHandle(ctx context.Context, did syntax.DID, handle string) error {
log := s.logger.With("repo", did.String(), "op", "updateUserHandle", "handle_from_event", handle)

didID := syntax.AtIdentifier{Inner: did}
err := s.dir.Purge(ctx, didID)
err := s.dir.Purge(ctx, did.AtIdentifier())
if err != nil {
log.Warn("failed to purge DID from directory", "err", err)
return err
Expand Down

0 comments on commit 3145474

Please sign in to comment.