Fix bug in request payload for fileInfo
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
This commit is contained in:
parent
fad5ab2dcf
commit
c57cd5fa96
1 changed files with 1 additions and 3 deletions
|
@ -65,9 +65,7 @@ class FilesService {
|
|||
try {
|
||||
final response = await _enteDio.post(
|
||||
"/files/info",
|
||||
data: {
|
||||
"fileIDs": [uploadedFileID]
|
||||
},
|
||||
data: {"fileIDs": uploadedFileID},
|
||||
);
|
||||
final Map<int, int> idToSize = {};
|
||||
final List result = response.data["filesInfo"] as List;
|
||||
|
|
Loading…
Add table
Reference in a new issue