Skip to content

Commit

Permalink
fix nightscout
Browse files Browse the repository at this point in the history
  • Loading branch information
mountrcg committed May 19, 2024
1 parent 61aa30c commit 14a7c9c
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions FreeAPS/Sources/Modules/DataTable/DataTableProvider.swift
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,13 @@ extension DataTable {
fpuID: treatement.fpuID,
syncID: treatement.id
)

nightscoutManager.deleteCarbs(
at: treatement.date,
isFPU: treatement.isFPU,
fpuID: treatement.fpuID,
syncID: treatement.id
)
// nightscoutManager.deleteCarbs(treatement, complexMeal: false)
// nightscoutManager.deleteCarbs(
// at: treatement.date,
// isFPU: treatement.isFPU,
// fpuID: treatement.fpuID,
// syncID: treatement.id
// )
nightscoutManager.deleteCarbs(treatement, complexMeal: false)
}

func deleteInsulin(_ treatement: Treatment) {
Expand Down

0 comments on commit 14a7c9c

Please sign in to comment.