OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Remove TODO comment
Benjamin Bädorf7fd3fda7d946
diff --git a/frontend/src/app/core/file-upload/op-direct-file-upload.service.ts b/frontend/src/app/core/file-upload/op-direct-file-upload.service.tsindex 30ceb394b34..c2e1a961a67 100644--- a/frontend/src/app/core/file-upload/op-direct-file-upload.service.ts+++ b/frontend/src/app/core/file-upload/op-direct-file-upload.service.ts@@ -108,7 +108,6 @@ export class OpenProjectDirectFileUploadService extends OpenProjectFileUploadSerpublic async getDirectUploadFormFrom(url:string, file:UploadFile|UploadBlob):Promise<PrepareUploadResult> {const fileName = file.customName || file.name;- // TODO: Where is this `mime` variable coming from? It needs typing, is it even a codepath that gets triggered?const contentType = (file.type || (fileName && getType(fileName)) || '' as string);const formData = new FormData();