Skip to content

Commit e31b4bf

Browse files
lint error fixes
1 parent 1a7eb6e commit e31b4bf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

project/ws/app/src/lib/routes/home/routes/marketplace-provider/components/content-upload/content-upload.component.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ export class ContentUploadComponent implements OnInit, OnChanges {
453453
const successMsg = hasTransformationAlready ? 'Transform Content updated successfully.' : 'Transform Content saved successfully.'
454454
this.showSnackBar(successMsg)
455455
this.sendDetailsUpdateEvent()
456-
}, 1000)
456+
}, 1000)
457457
}
458458
},
459459
error: (error: HttpErrorResponse) => {
@@ -506,14 +506,14 @@ export class ContentUploadComponent implements OnInit, OnChanges {
506506
this.getContentList()
507507
this.getUnPublishedCoursesList()
508508
this.getPublishedCoursesList()
509-
}, 1000)
509+
}, 1000)
510510
}
511511
},
512512
error: (error: HttpErrorResponse) => {
513513
this.executed = false
514514
this.transformationsUpdated = false
515515
this.contentFileUploaded = false
516-
let errmsg = _.get(error, 'error.params.errmsg', 'Some thing went wrong while uploading. Please try again')
516+
const errmsg = _.get(error, 'error.params.errmsg', 'Some thing went wrong while uploading. Please try again')
517517
// if (error && error.error && error.error.includes('unsupported file type')) {
518518
// errmsg = 'Uploaded file format is not supported. Please try again with a supported file format.'
519519
// }
@@ -569,7 +569,7 @@ export class ContentUploadComponent implements OnInit, OnChanges {
569569
this.showSnackBar(msg)
570570
setTimeout(() => {
571571
this.getUnPublishedCoursesList()
572-
}, 2000)
572+
}, 2000)
573573
}
574574
},
575575
error: (error: HttpErrorResponse) => {

0 commit comments

Comments
 (0)