[FIX] pms-api-rest: old calendar reselling False if is None

This commit is contained in:
miguelpadin
2023-06-28 12:22:36 +02:00
committed by Darío Lodeiros
parent 3153ef4f83
commit 922669c0f6

View File

@@ -192,7 +192,7 @@ class PmsCalendarService(Component):
nextLineSplitted=next_line_splitted,
previousLineSplitted=previous_line_splitted,
closureReasonId=line["closure_reason_id"],
isReselling=line["is_reselling"],
isReselling=line["is_reselling"] if line["is_reselling"] else False,
)
)
return result_lines