Browse files

fixed ReadPollRequest.java

  • Loading branch information...
1 parent 7916609 commit cd4a099200af2222d8895857e6796bceedfb903d @BOb511 BOb511 committed Mar 20, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 Service/app/api/requests/ReadPollRequest.java
View
8 Service/app/api/requests/ReadPollRequest.java
@@ -6,14 +6,14 @@
public class ReadPollRequest extends Request {
public static final Class EXPECTED_RESPONSE = ReadPollResponse.class;
- public Long poll_id;
- public ReadPollRequest (Long l) {
- this.poll_id = l;
+ public String poll_token;
+ public ReadPollRequest (String s) {
+ this.poll_token = s;
}
@Override
public String getURL() {
- return "/poll/" + poll_id;
+ return "/poll/" + poll_token;
}
@Override

0 comments on commit cd4a099

Please sign in to comment.