1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-18 07:52:23 +01:00

[bug] unable to book an event

This commit is contained in:
Sylvain 2021-06-14 14:22:23 +02:00
parent db21892872
commit 645efa37f4
2 changed files with 3 additions and 2 deletions

View File

@ -2,6 +2,7 @@
- Updated user's manual for v5
- Fix a bug: unable to process stripe payments with 3DS authentication
- Fix a bug: unable to book an event
## v5.0.2 2021 June 11

View File

@ -633,7 +633,7 @@ Application.Controllers.controller('ShowEventController', ['$scope', '$state', '
* Create a hash map implementing the Reservation specs
* @param reserve {Object} Reservation parameters (places...)
* @param event {Object} Current event
* @return {{reservable_id:number, reservable_type:string, slots_attributes:Array<Object>, nb_reserve_places:number}}
* @return {{reservation: {reservable_id:number, reservable_type:string, slots_attributes:Array<Object>, nb_reserve_places:number}}}
*/
const mkReservation = function (reserve, event) {
const reservation = {
@ -661,7 +661,7 @@ Application.Controllers.controller('ShowEventController', ['$scope', '$state', '
}
}
return reservation;
return { reservation };
};
/**