feat: simplify receipt import matching logic and enhance trace logging
Test Suite / test (24.15.0) (push) Has been cancelled
Test Suite / test (24.15.0) (push) Has been cancelled
This commit is contained in:
@@ -475,7 +475,7 @@ export class ReceiptImportService {
|
||||
create: {
|
||||
receiptName: normalizedReceiptName,
|
||||
productId,
|
||||
ownerId: dto.isAdminLearning ? undefined : userId,
|
||||
ownerId: (dto.isAdminLearning ? null : userId || null) as any,
|
||||
isGlobal: dto.isAdminLearning ? true : false,
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user