Use explicit outbox source validation
This commit is contained in:
@@ -1114,7 +1114,8 @@ def execute_calendar_outbox_operation(
|
||||
)
|
||||
return operation
|
||||
|
||||
assert source is not None
|
||||
if source is None:
|
||||
raise ValueError("Calendar outbox source is no longer available")
|
||||
operation_metadata = operation.metadata_ or {}
|
||||
overwrite = (
|
||||
bool(operation_metadata.get("overwrite"))
|
||||
|
||||
Reference in New Issue
Block a user