Skip to content

Commit

Permalink
fix: add resolve for delete records by time range
Browse files Browse the repository at this point in the history
  • Loading branch information
matinzd committed Nov 19, 2024
1 parent 4698e5e commit 2edd221
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,7 @@ class HealthConnectManager(private val applicationContext: ReactApplicationConte
healthConnectClient.deleteRecords(
recordType = record, timeRangeFilter = timeRangeFilter.getTimeRangeFilter()
)
promise.resolve(true)
} catch (e: Exception) {
promise.rejectWithException(e)
}
Expand Down

0 comments on commit 2edd221

Please sign in to comment.