Skip to content

Commit

Permalink
Fix dispose method
Browse files Browse the repository at this point in the history
  • Loading branch information
maxima-net committed Aug 26, 2022
1 parent 5cf10d4 commit 2dcf9b2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ export class MixedPriceManager implements PriceManager {
return [...this.providersMap.keys()];
}

dispose(): Promise<void> {
throw new Error('Method not implemented.');
async dispose(): Promise<void> {
this.cache.clear();
}

private getCacheKey({ isAverage, baseCurrency, quoteCurrency, provider }: GetCacheKeyParameters) {
Expand Down

0 comments on commit 2dcf9b2

Please sign in to comment.