Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

Commit

Permalink
Re-enable offers fetching
Browse files Browse the repository at this point in the history
  • Loading branch information
franckc committed Sep 24, 2020
1 parent 5c624ce commit 546efdb
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/eventsource/src/index.js
Expand Up @@ -318,8 +318,6 @@ class OriginEventSource {
// Returns a listing with offers and any fields that are computed from the
// offers.
async withOffers(listingId, listing) {
// Franck 24/09/2020 - Disabled fetching offers to try to bring graphql server alive from the dead...
/*
const totalOffers = await this.contract.methods
.totalOffers(listingId)
.call()
Expand All @@ -333,8 +331,6 @@ class OriginEventSource {
)
)
).filter(offer => offer !== null)
*/
const allOffers = []
console.log(`Found ${allOffers.length} for listing ${listingId}`)

// Compute fields from valid offers
Expand Down

0 comments on commit 546efdb

Please sign in to comment.