Skip to content

Commit

Permalink
fix: remove mediaType when create node to prevent unexpected transfor…
Browse files Browse the repository at this point in the history
…mation process
  • Loading branch information
emanuelgsouza committed Aug 14, 2020
1 parent 460a02c commit 2a305d7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/sync.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ module.exports = {
parent: null,
children: [],
internal: {
mediaType: `application/json`,
type: name,
contentDigest: crypto.createHash(`md5`).update(stringify(item)).digest(`hex`)
}
Expand All @@ -65,7 +64,6 @@ module.exports = {
parent: null,
children: [],
internal: {
mediaType: `application/json`,
type: name,
contentDigest: crypto.createHash(`md5`).update(stringify(item)).digest(`hex`)
}
Expand Down

0 comments on commit 2a305d7

Please sign in to comment.