Skip to content

Commit 71cb9c0

Browse files
committed
done
1 parent 0176162 commit 71cb9c0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/content/export-listing-functions.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@ All we are doing here is creating an async function that accepts `args` and `con
2222

2323
Next we are going to import this function from above into our `index.js` file:
2424

25-
```
26-
import { getAllListings } from "./query";
25+
```javascript
26+
import { getAllListings } from "./query"
2727
export const resolvers = {
2828
Query: {
2929
getAllListings: (root, args, context) => getAllListings(args, context),
30-
}
31-
}
30+
},
31+
}
3232
```
3333

34-
We are creating a resolvers object that has a query property that returns our getAllListings function.
34+
We are creating a resolvers object that has a query property that returns our `getAllListings` function.
3535

3636
Next we can start writing the code to return data!

0 commit comments

Comments
 (0)