Skip to content

Commit ae64b20

Browse files
committed
refactor: remove dotenv usage in api
1 parent 8367106 commit ae64b20

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

packages/agent-api/src/user-db-service.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
1+
import process from 'node:process';
12
import { CosmosClient, Database, Container } from '@azure/cosmos';
23
import { DefaultAzureCredential } from '@azure/identity';
3-
import path from 'node:path';
4-
import dotenv from 'dotenv';
5-
6-
dotenv.config({ path: path.join(process.cwd(), '../../.env') });
74

85
export class UserDbService {
96
private static instance: UserDbService;

0 commit comments

Comments
 (0)