mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-03-21 12:29:03 +01:00
[bug] recurring availabilities are not restricted to subscribers
This commit is contained in:
parent
b19c78c756
commit
e9185bd402
@ -8,6 +8,7 @@
|
||||
- Send pre-compressed assets to the browsers instead of the regular ones
|
||||
- Fix a bug: subscriptions tab is selected by default in statistics, even if the module is disabled
|
||||
- Fix a bug: select all plans for slot restriction (through the dedicated button) also selects the disabled plans
|
||||
- Fix a bug: recurring availabilities are not restricted to subscribers
|
||||
- Fix a security issue: updated elliptic to 6.5.4 to fix [CVE-2020-28498](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-28498)
|
||||
- [TODO DEPLOY] `\curl -sSL https://raw.githubusercontent.com/sleede/fab-manager/master/scripts/nginx-packs-directive.sh | bash`
|
||||
- [TODO DEPLOY] `rails db:seed`
|
||||
|
@ -22,7 +22,8 @@ class Availabilities::CreateAvailabilitiesService
|
||||
space_ids: availability.space_ids,
|
||||
tag_ids: availability.tag_ids,
|
||||
nb_total_places: availability.nb_total_places,
|
||||
slot_duration: availability.slot_duration
|
||||
slot_duration: availability.slot_duration,
|
||||
plan_ids: availability.plan_ids
|
||||
).save!
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user