Commit 9293efef by Yvon Kerdoncuff

really pass shift_type with proper format to create_coop_shift_subscription…

really pass shift_type with proper format to create_coop_shift_subscription (where is bug actually is)
parent f2945ade
Pipeline #4114 canceled with stage
...@@ -589,7 +589,7 @@ def shift_subscription(request): ...@@ -589,7 +589,7 @@ def shift_subscription(request):
m.unsubscribe_member_but_exogenous_makeups() m.unsubscribe_member_but_exogenous_makeups()
reg_id = m.create_coop_shift_subscription( reg_id = m.create_coop_shift_subscription(
curated_data["target_shift_template_id"], curated_data["target_shift_template_id"],
curated_data["target_shift_type"] data["shift_type"]
) )
# Return necessary data # Return necessary data
if reg_id is not None: if reg_id is not None:
......
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