Skip to content

Commit

Permalink
fix(modules/auth): correct imports (#2405)
Browse files Browse the repository at this point in the history
* fix(modules/auth): correct imports

* identify type imports
  • Loading branch information
iainsproat authored Jun 19, 2024
1 parent a926633 commit fb24202
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/server/modules/auth/domain/logic.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { UserInfo } from './types'
import type { UserInfo } from '@/modules/auth/domain/types'

/* eslint-disable camelcase */
export function getNameFromUserInfo({
Expand Down
2 changes: 1 addition & 1 deletion packages/server/modules/auth/strategies/oidc.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const {
} = require('@/modules/shared/helpers/envHelper')
const { passportAuthenticate } = require('@/modules/auth/services/passportService')
const { UnverifiedEmailSSOLoginError } = require('@/modules/core/errors/userinput')
const { getNameFromUserInfo } = require('@modules/auth/domain/logic')
const { getNameFromUserInfo } = require('@/modules/auth/domain/logic')

module.exports = async (app, session, sessionStorage, finalizeAuth) => {
const oidcIssuer = await Issuer.discover(getOidcDiscoveryUrl())
Expand Down

0 comments on commit fb24202

Please sign in to comment.