Commit e9e96a0c authored by Thijmen's avatar Thijmen

Don't do calculation server side - client relies on the amount of days the offer needs to have.

parent 2806a376
......@@ -55,7 +55,7 @@ public class ClubGiftsComposer extends MessageComposer {
this.response.appendInt(item.getId());
this.response.appendBoolean(item.isClubOnly());
this.response.appendInt(Math.max(daysRequired - daysAsHc, 0));
this.response.appendInt(daysRequired);
this.response.appendBoolean(daysRequired <= daysAsHc);
}
} else {
......
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 to comment