diff --git a/back/services/config.ts b/back/services/config.ts index 3483d3ac..a12a9419 100644 --- a/back/services/config.ts +++ b/back/services/config.ts @@ -3,7 +3,7 @@ import path, { join } from 'path'; import config from '../config'; import { getFileContentByName } from '../config/util'; import { Response } from 'express'; -import { request } from 'Undici'; +import { request } from 'undici'; @Service() export default class ConfigService { diff --git a/back/services/system.ts b/back/services/system.ts index f0e3cf81..b557cda7 100644 --- a/back/services/system.ts +++ b/back/services/system.ts @@ -1,7 +1,7 @@ import { spawn } from 'cross-spawn'; import { Response } from 'express'; import fs from 'fs'; -import { Agent, request } from 'Undici'; +import { Agent, request } from 'undici'; import sum from 'lodash/sum'; import path from 'path'; import { Inject, Service } from 'typedi';