提交 b7a80870 authored 作者: Varun Kumaar's avatar Varun Kumaar

fix: consider name when initializing single client

上级 b6dd9e60
...@@ -38,7 +38,7 @@ export const createClient = (): Provider => ({ ...@@ -38,7 +38,7 @@ export const createClient = (): Provider => ({
}), }),
); );
} else { } else {
clients.set(defaultKey, await getClient(options)); clients.set(options.name || defaultKey, await getClient(options));
} }
return { return {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论