@nest-omni/core 1.0.53 → 1.0.55

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nest-omni/core",
3
- "version": "1.0.53",
3
+ "version": "1.0.55",
4
4
  "description": "framework",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -55,7 +55,6 @@ class ContextProvider {
55
55
  static getAuthUser() {
56
56
  const auth = ContextProvider.get(ContextProvider.authUserKey);
57
57
  if (!auth) {
58
- console.error(new Error().stack);
59
58
  throw new common_1.BadGatewayException('User information not found.');
60
59
  }
61
60
  return auth;
@@ -233,8 +233,7 @@ let ApiConfigService = ApiConfigService_1 = class ApiConfigService {
233
233
  prefix: this.getString('BULL_PREFIX'),
234
234
  defaultJobOptions: {
235
235
  removeOnComplete: true,
236
- removeOnFail: this.getNumber('BULL_REMOVE_FAILED_DAYS') * 24 * 3600 ||
237
- 30 * 24 * 3600,
236
+ removeOnFail: true,
238
237
  attempts: this.getNumber('BULL_JOB_ATTEMPTS') || 5,
239
238
  backoff: {
240
239
  type: 'exponential',