gatsby-source-notion-churnotion 1.0.15 → 1.0.16
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/api/getPages.js +1 -1
- package/package.json +1 -1
package/dist/api/getPages.js
CHANGED
@@ -39,7 +39,7 @@ const getPages = async ({ databaseId, reporter, getCache, actions, createNode, c
|
|
39
39
|
reporter.warn(`[WARNING] Category without a title detected: ${categoryJsonData.id}`);
|
40
40
|
}
|
41
41
|
const nodeId = createNodeId(`${categoryJsonData.id}-category`);
|
42
|
-
categoryUrl +=
|
42
|
+
categoryUrl += `${categoryUrl.length === 0 ? `${constants_1.CATEGORY_URI}` : ``}/${slug}`;
|
43
43
|
const categoryNode = {
|
44
44
|
id: nodeId,
|
45
45
|
category_name: title,
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "gatsby-source-notion-churnotion",
|
3
3
|
"description": "Gatsby plugin that can connect with One Notion Database RECURSIVELY using official API",
|
4
|
-
"version": "1.0.
|
4
|
+
"version": "1.0.16",
|
5
5
|
"skipLibCheck": true,
|
6
6
|
"license": "0BSD",
|
7
7
|
"main": "./dist/gatsby-node.js",
|