We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 371f5c0 commit d6ae940Copy full SHA for d6ae940
lib/arangodb_ecto/utils.ex
@@ -6,7 +6,7 @@ defmodule ArangoDB.Ecto.Utils do
6
config = repo.config
7
config = if prefix == nil,
8
do: config,
9
- else: Keyword.put(:database_name, prefix)
+ else: Keyword.put(config, :database_name, prefix)
10
11
struct(Arangoex.Endpoint, config)
12
end
0 commit comments