Skip to content

Commit

Permalink
add missing await
Browse files Browse the repository at this point in the history
  • Loading branch information
Leouarz committed Feb 7, 2022
1 parent c7f5924 commit d74221e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/api/services/nft.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ export class NFTService {
try {
/// FILTERS
// Categories
if (query.filter?.categories) this.handleFilterCategory(query)
if (query.filter?.categories) await this.handleFilterCategory(query)
// Liked only
if (query.filter?.liked) this.handleFilterLikedOnly(query)
if (query.filter?.liked) await this.handleFilterLikedOnly(query)
/// Indexer data
const gqlQuery = QueriesBuilder.NFTs(query);
const res: DistinctNFTListResponse = await request(indexerUrl, gqlQuery);
Expand Down

0 comments on commit d74221e

Please sign in to comment.