Skip to content

Commit

Permalink
Merge pull request #11 from KATTA-00/main
Browse files Browse the repository at this point in the history
Update the client with the latest sanitation
  • Loading branch information
ayeshLK authored Aug 12, 2024
2 parents 2573e62 + 8925269 commit 41c4a06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ballerina/client.bal
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public isolated client class Client {
# + file_id - The ID of the file to use for this request.
# + headers - Headers to be sent with the request
# + return - OK
resource isolated function get files/[string file_id]/content(map<string|string[]> headers = {}) returns string|error {
resource isolated function get files/[string file_id]/content(map<string|string[]> headers = {}) returns byte[]|error {
string resourcePath = string `/files/${getEncodedUri(file_id)}/content`;
return self.clientEp->get(resourcePath, headers);
}
Expand Down

0 comments on commit 41c4a06

Please sign in to comment.