Browse Source

chore: fix typos

pull/5444/head
Wing-Kam Wong 1 year ago
parent
commit
f75ee3c8ba
  1. 8
      packages/nocodb-nest/src/modules/attachments/attachments.service.ts

8
packages/nocodb-nest/src/modules/attachments/attachments.service.ts

@ -35,8 +35,8 @@ export class AttachmentsService {
// if `url` is null, then it is local attachment // if `url` is null, then it is local attachment
if (!url) { if (!url) {
// then store the attachement path only // then store the attachment path only
// url will be constructued in `useAttachmentCell` // url will be constructed in `useAttachmentCell`
attachmentPath = `download/${filePath.join('/')}/${fileName}`; attachmentPath = `download/${filePath.join('/')}/${fileName}`;
} }
@ -89,8 +89,8 @@ export class AttachmentsService {
// if `attachmentUrl` is null, then it is local attachment // if `attachmentUrl` is null, then it is local attachment
if (!attachmentUrl) { if (!attachmentUrl) {
// then store the attachement path only // then store the attachment path only
// url will be constructued in `useAttachmentCell` // url will be constructed in `useAttachmentCell`
attachmentPath = `download/${filePath.join('/')}/${fileName}`; attachmentPath = `download/${filePath.join('/')}/${fileName}`;
} }

Loading…
Cancel
Save