🐛 (transaction) init location to null

This commit is contained in:
2020-08-25 21:36:11 +02:00
parent f4f54a0b33
commit 35530ab264
2 changed files with 2 additions and 6 deletions

View File

@@ -20,5 +20,5 @@ export default interface ITransaction extends IModel {
currencies: ICurrency[] currencies: ICurrency[]
exchange: IExchange | null exchange: IExchange | null
tag: TransactionTag tag: TransactionTag
location?: ILocation location?: ILocation | null
} }

View File

@@ -32,11 +32,7 @@ class TransactionService {
tag: TransactionTag.None, tag: TransactionTag.None,
transactionType: TransactionType.normal, transactionType: TransactionType.normal,
exchange: null, exchange: null,
location: { location: null
lat: 0,
lon: 0,
place: ''
}
} }
return transaction return transaction
} }