Skip to content

remove unused + update file param name#14

Merged
koonwen merged 4 commits intomasterfrom
touchup-upload
Mar 8, 2025
Merged

remove unused + update file param name#14
koonwen merged 4 commits intomasterfrom
touchup-upload

Conversation

@koonwen
Copy link
Copy Markdown
Contributor

@koonwen koonwen commented Feb 17, 2025

Suggestions from #11. @thatportugueseguy

@sewenthy might want to know that the signature of the file upload api is changed. (i.e. the param name of the ~file is changed to ~req)

@koonwen koonwen requested a review from dombong February 17, 2025 03:25
( match%lwt get_upload_url_external ~ctx ~req:req' with
| Error e -> Lwt.return_error e
| Ok { upload_url; file_id; _ } ->
let raw_file_contents = In_channel.with_open_bin filename (fun ic -> input_all ic) in
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add the changes requested in #11 (comment) too

@koonwen koonwen merged commit d187bb9 into master Mar 8, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants