Skip to content

Commit

Permalink
Add the new generated client for the 4th sanitation
Browse files Browse the repository at this point in the history
  • Loading branch information
KATTA-00 committed Aug 12, 2024
1 parent fccc7a8 commit 8925269
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 8925269

Please sign in to comment.