diff --git a/lerna.json b/lerna.json index 035e98d606..c9b38f1031 100644 --- a/lerna.json +++ b/lerna.json @@ -1,6 +1,6 @@ { "$schema": "node_modules/lerna/schemas/lerna-schema.json", - "version": "2.30.0", + "version": "2.30.2", "npmClient": "yarn", "packages": [ "packages/*", diff --git a/packages/server/src/api/controllers/static/index.ts b/packages/server/src/api/controllers/static/index.ts index 8db7816a9c..b4b4fdea5d 100644 --- a/packages/server/src/api/controllers/static/index.ts +++ b/packages/server/src/api/controllers/static/index.ts @@ -304,7 +304,7 @@ export const getSignedUploadURL = async function (ctx: Ctx) { try { const s3 = new AWS.S3({ region: awsRegion, - endpoint: datasource?.config?.endpoint as string, + endpoint: datasource?.config?.endpoint || undefined, accessKeyId: datasource?.config?.accessKeyId as string, secretAccessKey: datasource?.config?.secretAccessKey as string, apiVersion: "2006-03-01", diff --git a/packages/shared-core/src/constants/index.ts b/packages/shared-core/src/constants/index.ts index 0713b5d2f8..78984aafa4 100644 --- a/packages/shared-core/src/constants/index.ts +++ b/packages/shared-core/src/constants/index.ts @@ -182,6 +182,7 @@ export enum BpmStatusValue { COMPLETING_ACCOUNT_INFO = "completing_account_info", VERIFYING_EMAIL = "verifying_email", COMPLETED = "completed", + FAILED = "failed", } export const DEFAULT_BB_DATASOURCE_ID = "datasource_internal_bb_default"