Skip to content

Commit

Permalink
fix: updating import for next/env
Browse files Browse the repository at this point in the history
  • Loading branch information
Souvikns committed Jan 22, 2024
1 parent 1f43d76 commit 5d32288
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ import { EnrichedEvent, AuthEvent } from './lib/adapter.js'
import { ClusterEvent } from './lib/cluster.js'
import { getMessagesSchema } from './lib/util.js'
import { OperationReplyInterface } from '@asyncapi/parser'
import {loadEnvConfig} from '@next/env'

import nextEnv from '@next/env'

const {loadEnvConfig} = nextEnv
const isDev = process.env.NODE_ENV === 'development'
loadEnvConfig(process.cwd(), isDev)

Expand Down

0 comments on commit 5d32288

Please sign in to comment.