Skip to content

Commit 07a0e22

Browse files
committed
Improve output
1 parent ce3ebee commit 07a0e22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/io/simplelocalize/cli/client/SimpleLocalizeClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public String previewFile(UploadRequest uploadRequest) throws IOException, Inter
8282
HttpResponse<String> httpResponse = httpClient.send(httpRequest, HttpResponse.BodyHandlers.ofString());
8383
throwOnError(httpResponse);
8484
DocumentContext json = JsonPath.parse(httpResponse.body());
85-
return json.read("$.data", String.class);
85+
return json.read("$.data").toString();
8686
}
8787

8888
public List<DownloadableFile> exportFiles(ExportRequest exportRequest) throws IOException, InterruptedException

0 commit comments

Comments
 (0)