···811811 if host.ID != u.PDS && u.PDS != 0 {
812812 log.Warnw("received event for repo from different pds than expected", "repo", evt.Repo, "expPds", u.PDS, "gotPds", host.Host)
813813 // Flush any cached DID documents for this user
814814- bgs.didr.FlushCacheFor(env.RepoHandle.Did)
814814+ bgs.didr.FlushCacheFor(env.RepoCommit.Repo)
815815816816 subj, err := bgs.createExternalUser(ctx, evt.Repo)
817817 if err != nil {