Skip to content

Commit 26b790a

Browse files
authored
Add syntax highlighting to Readme
1 parent 6dd6380 commit 26b790a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ $ npm install graphql-resolver-cache --save
1818

1919
Add a cache to your Graphql middleware:
2020

21-
```
21+
```js
2222
import express from 'express';
2323
import bodyParser from 'body-parser';
2424
import { graphqlExpress } from 'apollo-server-express';
@@ -41,7 +41,7 @@ app.listen(PORT);
4141

4242
Wrap your resolver in a cache function:
4343

44-
```
44+
```js
4545
import { withCache } from 'graphql-resolver-cache';
4646
export default {
4747
User: {

0 commit comments

Comments
 (0)