Browse Source

fix(nocodb): url -> attachmentUrl

pull/4959/head
Wing-Kam Wong 2 years ago
parent
commit
fc3994e00f
  1. 2
      packages/nocodb/src/lib/meta/api/attachmentApis.ts

2
packages/nocodb/src/lib/meta/api/attachmentApis.ts

@ -113,7 +113,7 @@ export async function uploadViaURL(req: Request, res: Response) {
}
return {
...(url ? { url: attachmentUrl } : {}),
...(attachmentUrl ? { url: attachmentUrl } : {}),
...(attachmentPath ? { path: attachmentPath } : {}),
title: fileName,
mimetype: urlMeta.mimetype,

Loading…
Cancel
Save