Fixed wrong error displaying in RedeemVoucherErrorComposer

This commit is contained in:
Beny 2019-05-18 14:16:11 +01:00
parent 75985a3696
commit 1eddce9546

View File

@ -20,7 +20,7 @@ public class RedeemVoucherErrorComposer extends MessageComposer
public ServerMessage compose() public ServerMessage compose()
{ {
this.response.init(Outgoing.RedeemVoucherErrorComposer); this.response.init(Outgoing.RedeemVoucherErrorComposer);
this.response.appendInt(this.code); this.response.appendString(this.code + "");
return this.response; return this.response;
} }
} }