@vibe-flats/booking-engine-common-server 1.0.121 → 1.0.122

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -105,7 +105,7 @@ class CacheManager {
105
105
  return false;
106
106
  }
107
107
  try {
108
- const timeToLive = ttl ? ttl * 1000 : this.defaultTTL; // Convert seconds to milliseconds
108
+ const timeToLive = ttl || this.defaultTTL;
109
109
  yield this.cache.set(key, value, timeToLive);
110
110
  return true;
111
111
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibe-flats/booking-engine-common-server",
3
- "version": "1.0.121",
3
+ "version": "1.0.122",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",