Closed bntzio closed 1 year ago
When uploading a file, the response comes as the following type:
finalized_locations: Array<string>; message: string; upload_errors: Array<UploadError>;
When editing an already existing file, the response comes as: { finalized_location: string }
{ finalized_location: string }
This PR adds the correct type so that clients knows what will they receive in each response.
When uploading a file, the response comes as the following type:
When editing an already existing file, the response comes as:
{ finalized_location: string }
This PR adds the correct type so that clients knows what will they receive in each response.