Skip to content

Commit

Permalink
Refactor object retrieval
Browse files Browse the repository at this point in the history
  • Loading branch information
mike182uk committed Aug 27, 2024
1 parent 9bd012f commit 81816ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dispatchers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ export async function handleLike(
if (!existing) {
console.log('Object not found in globalDb, performing network lookup');

object = await lookupObject(like.objectId);
object = await like.getObject();
}

// Validate object
Expand Down

0 comments on commit 81816ea

Please sign in to comment.