feat: remove deprecated refreshCategories endpoint and refactor matching logic for improved clarity and performance
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:
@@ -59,13 +59,6 @@ export class ReceiptImportController {
|
||||
return this.receiptImportService.parseReceipt(file, isPremium, userId);
|
||||
}
|
||||
|
||||
@Post('refresh-categories')
|
||||
@UseGuards(AuthGuard('jwt'))
|
||||
async refreshCategories() {
|
||||
await this.receiptImportService.loadCategories();
|
||||
return { message: 'Kategorier har uppdaterats.' };
|
||||
}
|
||||
|
||||
@Post('unit-mappings')
|
||||
@UseGuards(AuthGuard('jwt'))
|
||||
async upsertUnitMapping(
|
||||
|
||||
Reference in New Issue
Block a user