Skip to content

Commit

Permalink
style: Prettier fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jlengstorf committed Oct 12, 2017
1 parent 5b407ab commit 915a34d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/helpers/GraphQLConnector.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,10 @@ export default class GraphQLConnector {
new Promise((resolve, reject) => {
this.logger.info(`Request made to ${uri}`);
const toHash = `${uri}-${this.headers.Authorization}`;
const key = crypto.createHash('md5').update(toHash).digest('hex');
const key = crypto
.createHash('md5')
.update(toHash)
.digest('hex');
const hasCache = this.enableCache && this.getCached(key, resolve, reject);

this.request(this.getRequestConfig(uri))
Expand Down

0 comments on commit 915a34d

Please sign in to comment.