Skip to content

Commit

Permalink
small review updates
Browse files Browse the repository at this point in the history
  • Loading branch information
whyrusleeping committed Dec 16, 2024
1 parent 23e9628 commit 51af58f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
11 changes: 0 additions & 11 deletions pds/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,17 +201,6 @@ func (s *Server) createExternalUser(ctx context.Context, did string) (*models.Ac
handle = hurl.Host
}

/*
profile, err := bsky.ActorGetProfile(ctx, c, did)
if err != nil {
return nil, err
}
if handle != profile.Handle {
return nil, fmt.Errorf("mismatch in handle between did document and pds profile (%s != %s)", handle, profile.Handle)
}
*/

// TODO: request this users info from their server to fill out our data...
u := User{
Handle: handle,
Expand Down
1 change: 1 addition & 0 deletions repomgr/bench_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ func BenchmarkRepoMgrCreates(b *testing.B) {
b.Fatal(err)
}

// TODO: constructor for 'either type'
/*
cs, err := carstore.NewCarStore(cardb, []string{cspath})
if err != nil {
Expand Down

0 comments on commit 51af58f

Please sign in to comment.