Skip to content

Commit

Permalink
Merge pull request #22 from contentstack/staging
Browse files Browse the repository at this point in the history
Staging
  • Loading branch information
abhinav-from-contentstack authored Nov 8, 2023
2 parents 1ae58b7 + e0d8098 commit e569e05
Show file tree
Hide file tree
Showing 4 changed files with 146 additions and 73 deletions.
2 changes: 1 addition & 1 deletion .talismanrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
fileignoreconfig:
- filename: package-lock.json
checksum: d897527a99b2eb7c6edd38f3171b998297d53f10e7897d57c1fc7c446e275379
checksum: b9989022679f3ffdc44f7bae43618855ee966f41561bd0a804bff91fe9c370b2
version: ""
211 changes: 142 additions & 69 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "@contentstack/datasync-content-store-mongodb",
"author": "Contentstack Ecosystem <[email protected]>",
"version": "1.0.6",
"version": "1.0.7",
"description": "Contentstack datasync's mongodb library. Helps to store contents in mongodb",
"main": "dist/index.js",
"dependencies": {
"debug": "^4.3.4",
"lodash": "^4.17.15",
"mongodb": "^6.0.0"
"mongodb": "^6.1.0"
},
"devDependencies": {
"@types/debug": "0.0.31",
Expand Down
2 changes: 1 addition & 1 deletion src/mongodb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ export class Mongodb {
})
.then((result) => {
debug(`Asset unpublish status: ${JSON.stringify(result)}`)
if (result === null) {
if (!result?.value) {
return resolve(asset)
}

Expand Down

0 comments on commit e569e05

Please sign in to comment.