feat(F-138): completed feature
This commit is contained in:
@@ -245,11 +245,13 @@ export async function buildApp(deps: BuildAppDeps = {}): Promise<FastifyInstance
|
||||
});
|
||||
});
|
||||
|
||||
const pricing = createPricingService(deps.pool);
|
||||
await app.register(async (instance) => {
|
||||
await registerCatalogRoutes(instance, {
|
||||
pool: deps.pool as pg.Pool,
|
||||
authenticate: combinedAuth,
|
||||
logger,
|
||||
pricing,
|
||||
});
|
||||
});
|
||||
|
||||
@@ -261,7 +263,6 @@ export async function buildApp(deps: BuildAppDeps = {}): Promise<FastifyInstance
|
||||
});
|
||||
});
|
||||
|
||||
const pricing = createPricingService(deps.pool);
|
||||
await app.register(async (instance) => {
|
||||
await registerPricingRoutes(instance, {
|
||||
pool: deps.pool as pg.Pool,
|
||||
|
||||
Reference in New Issue
Block a user