Skip to content

Commit

Permalink
Fixed reserved books exibition
Browse files Browse the repository at this point in the history
Fixed:

- Reserved books exibition.
  • Loading branch information
mauromascarenhas committed Jun 28, 2019
1 parent 48fda66 commit 5b9abdf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public void run() {
if (result.getBoolean("hasErrorDiv"))
((ReservationActivity)mContext).setUserNameNoReservation(result.getString("username"));
else {
((ReservationActivity)mContext).setReservationBooks(result.getJSONObject("reservationBooks").toString());
((ReservationActivity)mContext).setReservationBooks(result.getJSONArray("reservationBooks").toString());
((ReservationActivity)mContext).setupInterface(true);
}
} catch (JSONException e){
Expand Down

0 comments on commit 5b9abdf

Please sign in to comment.