Skip to content

Commit

Permalink
Fix error message (#613)
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
97mik authored Jul 8, 2024
1 parent d69efce commit cff1c3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/FluentKit/Database/Databases.swift
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ public final class Databases: @unchecked Sendable { // @unchecked is safe here;

private func _requireConfiguration(for id: DatabaseID) -> any DatabaseConfiguration {
guard let configuration = self.configurations[id] else {
fatalError("No datatabase configuration registered for \(id).")
fatalError("No database configuration registered for \(id).")
}
return configuration
}
Expand Down

0 comments on commit cff1c3e

Please sign in to comment.