File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
src/main/java/com/github/kayjamlang/request Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,9 @@ version '0.1'
77
88repositories {
99 mavenCentral()
10+ maven {
11+ url " https://oss.sonatype.org/service/local/repositories/releases/content/"
12+ }
1013}
1114
1215jar {
2326
2427
2528dependencies {
26- compileOnly " com.github.kayjamlang:executor:0.1.3.16 "
29+ compileOnly " com.github.kayjamlang:executor:0.1.3.17-fix1 "
2730 testCompile group : ' junit' , name : ' junit' , version : ' 4.12'
2831}
Original file line number Diff line number Diff line change 33import com .github .kayjamlang .core .Argument ;
44import com .github .kayjamlang .core .Type ;
55import com .github .kayjamlang .core .containers .ClassContainer ;
6+ import com .github .kayjamlang .executor .Context ;
67import com .github .kayjamlang .executor .libs .Library ;
78import com .github .kayjamlang .executor .libs .main .MapClass ;
89
@@ -17,8 +18,8 @@ public class RequestLibrary extends Library {
1718
1819 public RequestLibrary () throws Exception {
1920 addFunction (new LibFunction ("buildHttpQuery" , (mainContext , context ) -> {
20- Map < Object , Object > queryMap = (( MapClass ) context .variables .get ("query" ))
21- . getMap ( context );
21+ MapClass map = (MapClass ) context .variables .get ("query" );
22+ Map < Object , Object > queryMap = map . getVariable (( Context ) map . data . get ( "ctx" ), MapClass . FIELD_MAP );
2223
2324 StringBuilder query = new StringBuilder ();
2425 for (Map .Entry <Object , Object > entry : queryMap .entrySet ()){
You can’t perform that action at this time.
0 commit comments