Skip to content

Commit

Permalink
Update code comment
Browse files Browse the repository at this point in the history
  • Loading branch information
smyrick committed Jul 15, 2022
1 parent b8cf7e3 commit 7bc65a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/apollo-datasource-rest/src/RESTDataSource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ export abstract class RESTDataSource<TContext = any> extends DataSource {
};

// Cache GET requests based on the calculated cache key
// You can disable the entire cache with getCacheEnabled=false
// Disabling the request cache does not disable the response cache
if (this.requestCacheEnabled) {
if (request.method === 'GET') {
let promise = this.memoizedResults.get(cacheKey);
Expand Down

0 comments on commit 7bc65a7

Please sign in to comment.