Skip to content
This repository was archived by the owner on Dec 27, 2022. It is now read-only.

Commit 320ffdc

Browse files
committed
Apply format
1 parent 74bfc39 commit 320ffdc

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

src/fetch.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,13 @@ import axios from 'axios'
22
import { isObject, startsWith, forEach } from 'lodash'
33
import pluralize from 'pluralize'
44

5-
module.exports = async ({ apiURL, contentType, jwtToken, queryLimit, reporter }) => {
5+
module.exports = async ({
6+
apiURL,
7+
contentType,
8+
jwtToken,
9+
queryLimit,
10+
reporter,
11+
}) => {
612
// Define API endpoint.
713
const apiBase = `${apiURL}/${pluralize(contentType)}`
814
const apiEndpoint = `${apiBase}?_limit=${queryLimit}`

src/gatsby-node.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ exports.sourceNodes = async (
2323
loginData.hasOwnProperty('password') &&
2424
loginData.password.length !== 0
2525
) {
26-
const authenticationActivity = reporter.activityTimer(`Authenticate Strapi User`)
26+
const authenticationActivity = reporter.activityTimer(
27+
`Authenticate Strapi User`
28+
)
2729
authenticationActivity.start()
2830

2931
// Define API endpoint.
@@ -53,7 +55,7 @@ exports.sourceNodes = async (
5355
contentType,
5456
jwtToken,
5557
queryLimit,
56-
reporter
58+
reporter,
5759
})
5860
)
5961

0 commit comments

Comments
 (0)