fix(api): update openapi upload script env import path (#693)
The env module was moved to @cio/core/config/env but the upload-openapi-spec script still imported from the removed apps/api/src/config/env path, causing CI upload:openapi to fail with ERR_MODULE_NOT_FOUND. Co-authored-by: Rotimi Best <[email protected]>
This commit is contained in:
@@ -6,7 +6,7 @@ import { PutObjectCommand, S3Client } from '@aws-sdk/client-s3';
|
||||
import { mkdirSync, writeFileSync } from 'fs';
|
||||
|
||||
import { app } from '../src/app';
|
||||
import { env } from '../src/config/env';
|
||||
import { env } from '@cio/core/config/env';
|
||||
import { generateSpecs } from 'hono-openapi';
|
||||
import { join } from 'path';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user