π₯ π₯ π₯ A Free & Self-hostable Airtable Alternative
TypeScript airtableairtable-alternativeautomatic-apihacktoberfestlow-codeno-codeno-code-databaseno-code-platformpostgresqlrest-apirestful-apispreadsheetsqliteswagger
check attachment status for signedUrl
Fendy Heryanto1a7eaaeb96bd
diff --git a/packages/nocodb/src/models/PresignedUrl.ts b/packages/nocodb/src/models/PresignedUrl.tsindex 33639dedd4..1cb58d4a80 100644--- a/packages/nocodb/src/models/PresignedUrl.ts+++ b/packages/nocodb/src/models/PresignedUrl.ts@@ -235,6 +235,7 @@ export default class PresignedUrl {mimetype: string;signedPath?: string;signedUrl?: string;+ status?: string;};preview?: boolean;mimetype?: string;@@ -272,7 +273,7 @@ export default class PresignedUrl {},ncMeta,);- } else if (attachment?.url) {+ } else if (attachment?.url && attachment.status !== 'uploading') {nestedObj.signedUrl = await PresignedUrl.getSignedUrl({pathOrUrl: attachment.url,