badges-backend: refactor to use badge definitions in config. #4457
Signed-off-by: Andreas Stenius <git@astekk.se>
This commit is contained in:
committed by
Fredrik Adelöw
parent
61078ba14d
commit
798002ee03
@@ -20,6 +20,7 @@ import { PluginEnvironment } from '../types';
|
||||
export default async function createPlugin({
|
||||
logger,
|
||||
config,
|
||||
discovery,
|
||||
}: PluginEnvironment) {
|
||||
return await createRouter({ logger, config });
|
||||
return await createRouter({ logger, config, discovery });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user