Skip to content

Commit

Permalink
Fix read-only initializer
Browse files Browse the repository at this point in the history
  • Loading branch information
christophhagen committed Apr 13, 2024
1 parent 13b469c commit 1ce28c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/HKDatabase/Database/HealthDatabase.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public final class HealthDatabase {
- Parameter readOnly: Indicate if the database should be writable
*/
public init(fileUrl: URL, readOnly: Bool = true) throws {
self.store = try .init(fileUrl: fileUrl)
self.store = try .init(fileUrl: fileUrl, readOnly: readOnly)
}

}
Expand Down

0 comments on commit 1ce28c1

Please sign in to comment.