690322:2047 Fixing Deployment Blocking TypeScript Errors
This commit is contained in:
@@ -490,7 +490,7 @@ export class DocumentNumberingService {
|
||||
}): Promise<DocumentNumberAudit> {
|
||||
const audit = this.auditRepo.create({
|
||||
documentNumber: data.documentNumber,
|
||||
counterKey: data.counterKey,
|
||||
counterKey: data.counterKey as Record<string, unknown>,
|
||||
templateUsed: data.templateUsed,
|
||||
isSuccess: data.isSuccess,
|
||||
operation: data.operation,
|
||||
|
||||
@@ -26,7 +26,7 @@ export class ManualOverrideService {
|
||||
documentNumber: `OVERRIDE-TO-${dto.newLastNumber}`,
|
||||
operation: 'MANUAL_OVERRIDE',
|
||||
status: 'MANUAL',
|
||||
counterKey: dto, // CounterKeyDto part of ManualOverrideDto
|
||||
counterKey: dto as unknown as Record<string, unknown>, // CounterKeyDto part of ManualOverrideDto
|
||||
templateUsed: 'MANUAL_OVERRIDE',
|
||||
userId: userId,
|
||||
isSuccess: true,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Injectable, _Logger } from '@nestjs/common';
|
||||
import { Injectable, Logger } from '@nestjs/common';
|
||||
import { Counter, Gauge, Histogram } from 'prom-client';
|
||||
import { InjectMetric } from '@willsoto/nestjs-prometheus';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Injectable, Logger, _NotFoundException } from '@nestjs/common';
|
||||
import { Injectable, Logger, NotFoundException } from '@nestjs/common';
|
||||
import { InjectRepository } from '@nestjs/typeorm';
|
||||
import { Repository } from 'typeorm';
|
||||
import { DocumentNumberFormat } from '../entities/document-number-format.entity';
|
||||
|
||||
Reference in New Issue
Block a user