diff --git a/src/Vegasco-Web/src/app/api/consumptions/consumption-entry.ts b/src/Vegasco-Web/src/app/api/consumptions/consumption-entry.ts index 66cd3fc..89774b5 100644 --- a/src/Vegasco-Web/src/app/api/consumptions/consumption-entry.ts +++ b/src/Vegasco-Web/src/app/api/consumptions/consumption-entry.ts @@ -3,6 +3,5 @@ interface ConsumptionEntry { dateTime: string; distance: number; amount: number; - ignoreInCalculation: boolean; carId: string; } diff --git a/src/Vegasco-Web/src/app/api/consumptions/create-consumption-entry.ts b/src/Vegasco-Web/src/app/api/consumptions/create-consumption-entry.ts index fadf32f..dea5b78 100644 --- a/src/Vegasco-Web/src/app/api/consumptions/create-consumption-entry.ts +++ b/src/Vegasco-Web/src/app/api/consumptions/create-consumption-entry.ts @@ -2,6 +2,5 @@ interface CreateConsumptionEntry { dateTime: string; distance: number; amount: number; - ignoreInCalculation: boolean; carId: string; } diff --git a/src/Vegasco-Web/src/app/api/consumptions/update-consumption-entry.ts b/src/Vegasco-Web/src/app/api/consumptions/update-consumption-entry.ts index fcdd0f9..41e169c 100644 --- a/src/Vegasco-Web/src/app/api/consumptions/update-consumption-entry.ts +++ b/src/Vegasco-Web/src/app/api/consumptions/update-consumption-entry.ts @@ -2,6 +2,5 @@ interface UpdateConsumptionEntry { dateTime: string; distance: number; amount: number; - ignoreInCalculation: boolean; carId: string; } diff --git a/src/Vegasco-Web/src/app/modules/entries/edit-entry/edit-entry.component.ts b/src/Vegasco-Web/src/app/modules/entries/edit-entry/edit-entry.component.ts index 9fbf386..e485b49 100644 --- a/src/Vegasco-Web/src/app/modules/entries/edit-entry/edit-entry.component.ts +++ b/src/Vegasco-Web/src/app/modules/entries/edit-entry/edit-entry.component.ts @@ -183,7 +183,6 @@ export class EditEntryComponent implements OnInit { dateTime: dateTime.toISOString(), distance: this.formGroup.controls[this.formFieldNames.mileage].value!, amount: this.formGroup.controls[this.formFieldNames.amount].value!, - ignoreInCalculation: false, }; }