Skip to content

Commit 62098ed

Browse files
committed
Fixed ClassCastException
1 parent b9ef8c6 commit 62098ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/javawebstack/httpclient/HTTPClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ public HTTPRequest post(String path){
119119
}
120120

121121
public HTTPRequest post(String path, Object body){
122-
return post(path).jsonBody((GraphElement) body);
122+
return post(path).jsonBody(body);
123123
}
124124

125125
public HTTPRequest put(String path){

0 commit comments

Comments
 (0)