feat: simplify receipt import matching logic and enhance trace logging
Test Suite / test (24.15.0) (push) Has been cancelled

This commit is contained in:
Nils-Johan Gynther
2026-05-09 15:17:00 +02:00
parent 1966a92a87
commit 97e7b09bcd
4 changed files with 76 additions and 1 deletions
@@ -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,
},
});