From 8925269a358db20f4569b06ab0298b21ed8d1b08 Mon Sep 17 00:00:00 2001 From: KATTA-00 Date: Mon, 12 Aug 2024 10:42:45 +0530 Subject: [PATCH] Add the new generated client for the 4th sanitation --- ballerina/client.bal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ballerina/client.bal b/ballerina/client.bal index e42dbd6..72c21eb 100644 --- a/ballerina/client.bal +++ b/ballerina/client.bal @@ -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 headers = {}) returns string|error { + resource isolated function get files/[string file_id]/content(map headers = {}) returns byte[]|error { string resourcePath = string `/files/${getEncodedUri(file_id)}/content`; return self.clientEp->get(resourcePath, headers); }