Skip to content

Commit

Permalink
update operator function name
Browse files Browse the repository at this point in the history
  • Loading branch information
natlibfi-jonollil committed Sep 24, 2024
1 parent 464ef01 commit 33eb737
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import {createLogger} from '@natlibfi/melinda-backend-commons';
import {transformerBlobLogic, createMongoOperator} from '@natlibfi/melinda-record-import-commons';
import {transformerBlobLogic, createMongoBlobsOperator} from '@natlibfi/melinda-record-import-commons';
import createTransformHandler from './transform';
import amqplib from 'amqplib';

export async function startApp(config) {
const logger = createLogger();

const mongoOperator = await createMongoOperator(config.mongoUrl);
const mongoOperator = await createMongoBlobsOperator(config.mongoUrl);
const transformHandler = createTransformHandler(config);

logger.info('Starting melinda record import dc transformer');
Expand Down

0 comments on commit 33eb737

Please sign in to comment.