Skip to content

Commit

Permalink
fix(service): makes ogma instance optional in service ctor
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcdo29 committed Dec 20, 2019
1 parent 0518279 commit da14ee8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ogma.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export class OgmaService implements LoggerService {
public log = this.info;

constructor(
@Optional() @Inject(OGMA_INSTANCE) ogma: Ogma,
@Optional() @Inject(OGMA_INSTANCE) ogma?: Ogma,
@Optional() @Inject(OGMA_CONTEXT) context?: string,
) {
this.context = context || '';
Expand Down

0 comments on commit da14ee8

Please sign in to comment.