Commit 9f840133 by Hans.Lahe

Update AppApiHelper.java

parent 791b59f6
...@@ -51,7 +51,7 @@ public class AppApiHelper implements ApiHelper { ...@@ -51,7 +51,7 @@ public class AppApiHelper implements ApiHelper {
@Override @Override
public Observable<List<Point>> getPoints(GamesRequest.PointsRequest request) { public Observable<List<Point>> getPoints(GamesRequest.PointsRequest request) {
return Rx2AndroidNetworking.get(ApiEndPoint.ENDPOINT_GET_POINTS) return Rx2AndroidNetworking.get(ApiEndPoint.ENDPOINT_GET_POINTS)
.addQueryParameter("game_id", Integer.toString(request.getGame_id())) .addQueryParameter("game", Integer.toString(request.getGame_id()))
.build() .build()
.getObjectListObservable(Point.class); .getObjectListObservable(Point.class);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment