Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Back merge #67

Open
wants to merge 10 commits into
base: staging
Choose a base branch
from
Open
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License

Copyright (c) 2024 Contentstack LLC <https://www.contentstack.com/>
Copyright (c) 2025 Contentstack LLC <https://www.contentstack.com/>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Contentstack DataSync lets you sync your Contentstack data with your database, e
The DataSync Manager is one of the four important components of Contentstack DataSync. When any publish, unpublish, or delete operations are performed on assets or content, the DataSync Manager fetches the data and sends it to Content Store. It uses Contentstack's Sync APIs to sync data from Contentstack with your preferred database — Filesystem and MongoDB in our case.

### Prerequisite
- nodejs v8+
- nodejs v20+

### Usage

Expand Down
32 changes: 16 additions & 16 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@contentstack/datasync-manager",
"author": "Contentstack LLC <[email protected]>",
"version": "2.0.7",
"version": "2.0.8",
"description": "The primary module of Contentstack DataSync. Syncs Contentstack data with your server using Contentstack Sync API",
"main": "dist/index.js",
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export const get = (req, RETRY = 1) => {
headers: Contentstack.headers,
hostname: Contentstack.host,
method: Contentstack.verbs.get,
path: sanitizeUrl(req.path),
path: sanitizeUrl(encodeURI(req.path)),
port: Contentstack.port,
protocol: Contentstack.protocol,
}
Expand Down
Loading