Skip to content

Commit

Permalink
fixed scouting delete
Browse files Browse the repository at this point in the history
  • Loading branch information
KazBaygan committed Sep 12, 2014
1 parent 029af03 commit b8eb732
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
Expand Up @@ -23,7 +23,7 @@ abstract public class ClimateBaseRequest<Result> extends JsonRequest<Result> {
private Response.ErrorListener errorListener;
private String baseUrl;
private String tileBaseUrl;
private String resolvedUrl;
private String resolvedUrl=null;
private static final int TIME_OUT = 20 * 1000;
private boolean useGetParamsMethod = true;
private Context context = null;
Expand Down
Expand Up @@ -17,6 +17,12 @@ public ScoutingDeleteRequest(Context context, long userId, long deleteEventId) {
super(context, Method.DELETE);
this.userId = userId;
this.deleteEventId = deleteEventId;

}

@Override
public int getMethod() {
return Method.DELETE;
}

@Override
Expand All @@ -25,6 +31,11 @@ protected String getFeedUrl() {
String.format("/v2/users/%d/scouting_activities/%d.json", userId, deleteEventId);
}

// @Override
// public String getUrl() {
// return getFeedUrl();
// }

@Override
protected Void parseClimateData(Map<String, Object> obj) throws JSONException {
return null;
Expand Down

0 comments on commit b8eb732

Please sign in to comment.