Skip to content

Commit d2861bd

Browse files
author
magiclu550
committed
[proxy] return value
1 parent 4975c82 commit d2861bd

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

jsmod2/NetworkHandler.cs

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,8 +227,15 @@ public JsonSetting[] handle(object api, Dictionary<string, string> mapper)
227227
}
228228
info.Invoke(api,dArgs);
229229
}
230-
info.Invoke(api,null);
231-
return null;
230+
object o = info.Invoke(api,null);
231+
if (o == null)
232+
{
233+
return null;
234+
}
235+
else
236+
{
237+
return Utils.getOne(mapper["id"], o, null);
238+
}
232239
}
233240
}
234241

0 commit comments

Comments
 (0)