mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[FIX] pms-api-rest: fix precommit
This commit is contained in:
committed by
Darío Lodeiros
parent
7c94f2ae86
commit
4da5273417
@@ -186,7 +186,8 @@ class PmsAvailabilityPlanService(Component):
|
||||
[
|
||||
(
|
||||
[
|
||||
"/<int:availability_plan_id>/availability-plan-rules/<int:availability_plan_rule_id>",
|
||||
"/<int:availability_plan_id>/"
|
||||
"availability-plan-rules/<int:availability_plan_rule_id>",
|
||||
],
|
||||
"PATCH",
|
||||
)
|
||||
@@ -202,7 +203,6 @@ class PmsAvailabilityPlanService(Component):
|
||||
[
|
||||
("availability_plan_id", "=", availability_plan_id),
|
||||
("id", "=", availability_plan_rule_id),
|
||||
|
||||
]
|
||||
)
|
||||
if avail_rule:
|
||||
|
||||
Reference in New Issue
Block a user