Skip to content

Commit 2343877

Browse files
committed
await -> return
1 parent 03425c6 commit 2343877

File tree

1 file changed

+1
-1
lines changed
  • test/lib/rules/artifacts-combined-files/fileUpload

1 file changed

+1
-1
lines changed

test/lib/rules/artifacts-combined-files/fileUpload/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ export default class FileUpload extends LightningElement {
137137
}
138138

139139
async createCdl(recordId, contentDocumentId) {
140-
await createRecord({
140+
return createRecord({
141141
apiName: 'ContentDocumentLink',
142142
fields: {
143143
LinkedEntityId: recordId,

0 commit comments

Comments
 (0)