Skip to content

Commit

Permalink
get labels from ozone again
Browse files Browse the repository at this point in the history
  • Loading branch information
Bossett committed Nov 4, 2024
1 parent c386d5d commit d45d499
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/lib/getUserDetails.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@ class UserDetailsFetch extends CachedFetch {
{},
)

/* REMOVING OZONE LOOKUP FOR CLEANUP
const labelsFetch = await fetch(
`${
env.OZONE_URL
Expand All @@ -71,15 +69,12 @@ class UserDetailsFetch extends CachedFetch {
if (!map[label.uri]) {
map[label.uri] = []
}
map[label.uri].push(label)
if (!label.neg) map[label.uri].push(label)
return map
}, {})
*/

for (const did of actorsChunk) {
if (profilesMap[did]) {
/* REMOVING OZONE LOOKUP FOR CLEANUP
if (
labelsMap[did] &&
Array.isArray(labelsMap[did]) &&
Expand All @@ -90,7 +85,6 @@ class UserDetailsFetch extends CachedFetch {
`${did} from ozone ${JSON.stringify(labelsMap[did])}`,
)
}
*/

this.results.set(did, {
data: this.compressData(profilesMap[did]),
Expand Down

0 comments on commit d45d499

Please sign in to comment.