Rename all the things

Signed-off-by: Joon Park <joonp@spotify.com>
This commit is contained in:
Joon Park
2021-12-17 14:19:34 +00:00
parent d1801d7166
commit 0e8ec6d974
13 changed files with 131 additions and 89 deletions
+4 -4
View File
@@ -64,10 +64,10 @@ function makeCreateEnv(config: Config) {
const reader = UrlReaders.default({ logger: root, config });
const discovery = SingleHostDiscovery.fromConfig(config);
const tokenManager = ServerTokenManager.fromConfig(config, { logger: root });
const permissions = new ServerPermissionClient({
discoveryApi: discovery,
configApi: config,
serverTokenManager: tokenManager,
const permissions = ServerPermissionClient.create({
discovery,
config,
tokenManager,
});
root.info(`Created UrlReader ${reader}`);