Skip to content

Commit

Permalink
SC-3303, fix: remove redundant code in objectService
Browse files Browse the repository at this point in the history
  • Loading branch information
wilwong89 committed Aug 18, 2023
1 parent 0a87506 commit 6f82824
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions frontend/src/services/objectService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -290,12 +290,6 @@ export default {
},
};

// Detect MIME type from File object and assign to header
// Fall back to application/octet-stream as above
if (object?.type) {
config.headers['Content-Type'] = object.type;
}

// Map the metadata if required
if (headers.metadata) {
config.headers = {
Expand Down

0 comments on commit 6f82824

Please sign in to comment.