Browse Source

chore: fix typos

pull/5444/head
Wing-Kam Wong 2 years 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) {
// then store the attachement path only
// url will be constructued in `useAttachmentCell`
// then store the attachment path only
// url will be constructed in `useAttachmentCell`
attachmentPath = `download/${filePath.join('/')}/${fileName}`;
}
@ -89,8 +89,8 @@ export class AttachmentsService {
// if `attachmentUrl` is null, then it is local attachment
if (!attachmentUrl) {
// then store the attachement path only
// url will be constructued in `useAttachmentCell`
// then store the attachment path only
// url will be constructed in `useAttachmentCell`
attachmentPath = `download/${filePath.join('/')}/${fileName}`;
}

Loading…
Cancel
Save