mirror of
https://github.com/1f349/dendrite.git
synced 2024-11-08 18:16:59 +00:00
Fix #842
This commit is contained in:
parent
714959126b
commit
ee8e167844
@ -42,6 +42,6 @@ func NewDatabase(dataSourceName string) (Database, error) {
|
||||
case "postgres":
|
||||
return postgres.NewDatabase(dataSourceName)
|
||||
default:
|
||||
return errors.New("unknown schema")
|
||||
return nil, errors.New("unknown schema")
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user