Skip to content

Commit

Permalink
refactor(s2s): fix the import (#45)
Browse files Browse the repository at this point in the history
Co-authored-by: Uday Denduluri <[email protected]>
  • Loading branch information
udaydenduluri33 and udaydenduluri33 authored Jun 9, 2020
1 parent 43c9627 commit 964d689
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/auth/s2s/s2s.class.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import events from 'events'
import { EventEmitter } from 'events'
import { NextFunction, Request, RequestHandler, Response, Router } from 'express'
import jwtDecode from 'jwt-decode'
import { authenticator } from 'otplib'
Expand All @@ -8,7 +8,7 @@ import { S2S } from './s2s.constants'
import { S2SConfig } from './s2sConfig.interface'
import { S2SToken } from './s2sToken.interface'

export class S2SAuth extends events.EventEmitter {
export class S2SAuth extends EventEmitter {
protected readonly router = Router({ mergeParams: true })

protected s2sConfig: S2SConfig = {
Expand Down

0 comments on commit 964d689

Please sign in to comment.