Skip to content

Commit

Permalink
moved createTokens
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamc4t committed Apr 15, 2024
1 parent 4d00f26 commit 121e986
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/auth.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Response, Request } from 'express'
import { User } from '../models'
import { createAccessToken, createRefreshToken } from './jwt'
import { createAccessToken, createRefreshToken } from './utils'
import { JwtPayload } from 'jsonwebtoken'
// import { maxAge } from '../constants/maxAge'

Expand Down
1 change: 1 addition & 0 deletions src/controllers/utils/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { createAccessToken, createRefreshToken } from './jwt'
File renamed without changes.

0 comments on commit 121e986

Please sign in to comment.