refactor: remove unused parser files and update ParsedReceiptItem model with additional fields

This commit is contained in:
Nils-Johan Gynther
2026-05-01 01:16:10 +02:00
parent 879501292d
commit bfe9cb46fa
9 changed files with 26 additions and 854 deletions
@@ -1,4 +1,4 @@
import { Body, Controller, Post, UploadedFile, UseInterceptors } from '@nestjs/common';
import { Body, Controller, HttpCode, Post, UploadedFile, UseInterceptors } from '@nestjs/common';
import { Throttle } from '@nestjs/throttler';
import { FileInterceptor } from '@nestjs/platform-express';
import { memoryStorage } from 'multer';
@@ -10,6 +10,7 @@ export class QuickImportController {
constructor(private readonly quickImportService: QuickImportService) {}
@Post()
@HttpCode(200)
@Throttle({ default: { ttl: 60_000, limit: 20 } })
@UseInterceptors(
FileInterceptor('file', {