File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Sources/FluentPostgresDriver Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ extension _FluentPostgresDatabase: Database {
65
65
return self . withConnection { conn in
66
66
guard let sqlConn = conn as? any SQLDatabase else {
67
67
fatalError ( """
68
- Connection yieled by a Fluent+Postgres database is not also an SQLDatabase.
68
+ Connection yielded by a Fluent+Postgres database is not also an SQLDatabase.
69
69
This is a bug in Fluent; please report it at https://github.com/vapor/fluent-postgres-driver/issues
70
70
""" )
71
71
}
@@ -124,7 +124,7 @@ extension _FluentPostgresDatabase: PostgresDatabase {
124
124
func withConnection< T> ( _ closure: @escaping ( PostgresConnection ) -> EventLoopFuture < T > ) -> EventLoopFuture < T > {
125
125
guard let psqlDb: any PostgresDatabase = self . database as? any PostgresDatabase else {
126
126
fatalError ( """
127
- Connection yieled by a Fluent+Postgres database is not also a PostgresDatabase.
127
+ Connection yielded by a Fluent+Postgres database is not also a PostgresDatabase.
128
128
This is a bug in Fluent; please report it at https://github.com/vapor/fluent-postgres-driver/issues
129
129
""" )
130
130
}
You can’t perform that action at this time.
0 commit comments