Skip to content

Commit 8b3a908

Browse files
committed
contentfull affix issue fixed
1 parent 6bf4a72 commit 8b3a908

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

upload-api/migration-contentful/libs/createInitialMapper.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ const idArray = require('../utils/restrictedKeyWords');
3535
* // Outputs: 'prefix_my_special_id'
3636
*/
3737
const uidCorrector = (uid, prefix) => {
38-
console.log('uidCorrector', uid, prefix);
3938
let newId = uid;
4039
if (idArray.includes(uid)) {
4140
newId = uid.replace(uid, `${prefix}_${uid}`);
@@ -64,7 +63,6 @@ const uidCorrector = (uid, prefix) => {
6463
* // Outputs: an array of content type objects, each containing metadata and field mappings.
6564
*/
6665
const createInitialMapper = async (affix="") => {
67-
console.log('Creating initial mapper for content types...',config,affix);
6866
try {
6967
const initialMapper = [];
7068
const files = await fs.readdir(

0 commit comments

Comments
 (0)