Skip to content
This repository has been archived by the owner on Mar 22, 2019. It is now read-only.

Commit

Permalink
remove cls from config
Browse files Browse the repository at this point in the history
  • Loading branch information
Chanlito committed Mar 9, 2018
1 parent 682f314 commit e23451d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/sequelize/sequelize.interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { Omit } from '..';
export interface SequelizeModuleConfiguration {
config: ISequelizeConfig;
models: any[];
useCLS?: boolean;
}

export type SequelizeProps =
Expand Down
2 changes: 1 addition & 1 deletion src/sequelize/sequelize.providers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Sequelize } from 'sequelize-typescript';
import { SequelizeModuleConfiguration } from './sequelize.interfaces';
import { getModelToken } from './sequelize.utils';

export function createSequelizeProviders({ config, models, useCLS }: SequelizeModuleConfiguration): any[] {
export function createSequelizeProviders({ config, models }: SequelizeModuleConfiguration): any[] {
const sequelizeProvider = {
provide: Sequelize,
useFactory: async () => {
Expand Down

0 comments on commit e23451d

Please sign in to comment.