fix: API field mapping, HealthKit entitlement, profile tab, forgot password
This commit is contained in:
@@ -26,14 +26,16 @@ struct FinanceCategory: Codable, Identifiable {
|
||||
|
||||
struct FinanceSummary: Codable {
|
||||
var totalIncome: Double?
|
||||
var totalExpenses: Double?
|
||||
var totalExpense: Double?
|
||||
var balance: Double?
|
||||
var carriedOver: Double?
|
||||
var month: String?
|
||||
|
||||
enum CodingKeys: String, CodingKey {
|
||||
case totalIncome = "total_income"
|
||||
case totalExpenses = "total_expenses"
|
||||
case balance, month
|
||||
case totalIncome = "total_income"
|
||||
case totalExpense = "total_expense"
|
||||
case carriedOver = "carried_over"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user