Skip to content

Commit

Permalink
Import mayhems fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Veikkosuhonen committed Jan 22, 2024
1 parent 8c1bb39 commit 0677562
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/auth/IAMConfig.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { normalizeOrganisationCode } from './common'
const { facultyMap, data } = require('./data')
import { facultyMap, data } from './data'

const ANY = 'ANY'

Expand Down
9 changes: 2 additions & 7 deletions src/auth/data.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const facultyMap = {
export const facultyMap = {
teologinen: 'H10',
oikeustieteellinen: 'H20',
lääketieteellinen: 'H30',
Expand All @@ -14,7 +14,7 @@ const facultyMap = {
kielikeskus: 'H906',
}

const data = [
export const data = [
{
code: 'H10',
name: {
Expand Down Expand Up @@ -1671,11 +1671,6 @@ const data = [
},
]

export {
data,
facultyMap,
}

module.exports = {
data,
facultyMap,
Expand Down

0 comments on commit 0677562

Please sign in to comment.