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

Commit 38bca74

Browse files
authored
Define variable one by one
1 parent d568924 commit 38bca74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/fetch.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import pluralize from 'pluralize'
44

55
module.exports = async ({ apiURL, contentType, jwtToken, queryLimit, reporter }) => {
66
// Define API endpoint.
7-
const apiBase = `${apiURL}/${pluralize(contentType)}`,
8-
apiEndpoint = `${apiBase}?_limit=${queryLimit}`
7+
const apiBase = `${apiURL}/${pluralize(contentType)}`
8+
const apiEndpoint = `${apiBase}?_limit=${queryLimit}`
99

1010
reporter.info(`Starting to fetch data from Strapi - ${apiBase}`)
1111

0 commit comments

Comments
 (0)