Skip to content

Commit bd3d220

Browse files
committed
done with the export mutation post
1 parent 3ff2be2 commit bd3d220

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/content/export-the-mutation-function.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ postnumber: 15
1010

1111
In this chapter we just set up our mutation by exporting it.
1212

13-
In the mutation.js file add the following function:
13+
In the `mutation.js` file add the following function:
1414

1515
```javascript
1616
export const makeABooking = async (args, context) => {
1717
return null
1818
}
1919
```
2020

21-
Then head over the the index of the resolvers and import it:
21+
Then head over the the `index` of the resolvers and import it:
2222

2323
```javascript
2424
import { makeABooking } from "./mutation"
@@ -29,7 +29,7 @@ export const resolvers = {
2929
}
3030
```
3131

32-
Your resolvers index should look like this:
32+
Your resolvers `index.js` should look like this:
3333

3434
```javascript
3535
import { getAllListings, getAListing } from "./query"
@@ -45,4 +45,4 @@ export const resolvers = {
4545
}
4646
```
4747

48-
Next up we setup a Stripe Account
48+
Next up we will setup a Stripe Account

0 commit comments

Comments
 (0)