Skip to content

Commit 158edc8

Browse files
authored
Apply suggestion from @mtrezza
1 parent ae68a7a commit 158edc8

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

packages/dart/lib/src/objects/parse_file.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,6 @@ class ParseFile extends ParseFileBase {
8080
HttpHeaders.contentLengthHeader: '${file!.lengthSync()}',
8181
};
8282

83-
// Do not set content-type - let the server infer it from the filename
84-
8583
try {
8684
final String uri = ParseCoreData().serverUrl + _path;
8785
final ParseNetworkResponse response = await _client.postBytes(

0 commit comments

Comments
 (0)