260326:1547 Fixing Refactor ADR-019 Naming convention uuid #04
CI / CD Pipeline / build (push) Successful in 10m26s
CI / CD Pipeline / deploy (push) Failing after 4m6s

This commit is contained in:
admin
2026-03-26 15:47:45 +07:00
parent 968fc1f462
commit 59cb928dd7
4 changed files with 4 additions and 4 deletions
@@ -304,7 +304,7 @@ export class AsBuiltDrawingService {
async findOneByUuid(uuid: string) {
const asBuiltDrawing = await this.asBuiltDrawingRepo.findOne({
where: { uuid },
where: { publicId: uuid },
relations: [
'mainCategory',
'subCategory',
@@ -205,7 +205,7 @@ export class ContractDrawingService {
async findOneByUuid(uuid: string) {
const drawing = await this.drawingRepo.findOne({
where: { uuid },
where: { publicId: uuid },
relations: ['attachments'],
});
@@ -298,7 +298,7 @@ export class ShopDrawingService {
async findOneByUuid(uuid: string) {
const shopDrawing = await this.shopDrawingRepo.findOne({
where: { uuid },
where: { publicId: uuid },
relations: [
'mainCategory',
'subCategory',
@@ -155,7 +155,7 @@ export class NotificationService {
async markAsReadByUuid(uuid: string, userId: number): Promise<void> {
const notification = await this.notificationRepo.findOne({
where: { uuid, userId },
where: { publicId: uuid, userId },
});
if (!notification) {