From cff1c3e7e948ac4ac8b6760351aa44795e35df57 Mon Sep 17 00:00:00 2001 From: Mihail Verenich <97mik@mail.ru> Date: Mon, 8 Jul 2024 17:07:40 +0200 Subject: [PATCH] Fix error message (#613) Fix typo --- Sources/FluentKit/Database/Databases.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/FluentKit/Database/Databases.swift b/Sources/FluentKit/Database/Databases.swift index e3b4ec61..3978dcef 100644 --- a/Sources/FluentKit/Database/Databases.swift +++ b/Sources/FluentKit/Database/Databases.swift @@ -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 }