Skip to content

Commit

Permalink
fix linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
mjoerke committed Mar 28, 2024
1 parent a441543 commit 32a0bb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Prisma/Standard/PrismaStandard+HealthKit.swift
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ extension PrismaStandard: HealthKitConstraint {
firestoreResource["device"] = deviceName
// timeIndex is a dictionary with time-related info (range, timezone, datetime.start, datetime.end)
// timeIndex fields are merged with this specific HK datapoint so we can just access this part to fetch/sort by time
firestoreResource.merge(timeIndex as [String : Any]) { (_, new) in new }
firestoreResource.merge(timeIndex as [String: Any]) { _, new in new }

Check warning on line 52 in Prisma/Standard/PrismaStandard+HealthKit.swift

View check run for this annotation

Codecov / codecov/patch

Prisma/Standard/PrismaStandard+HealthKit.swift#L51-L52

Added lines #L51 - L52 were not covered by tests
firestoreResource["datetimeStart"] = effectiveTimestamp
try await Firestore.firestore().document(path).setData(firestoreResource)
} catch {
Expand Down

0 comments on commit 32a0bb8

Please sign in to comment.