diff --git a/confirmation/models.py b/confirmation/models.py index 0643ea7bc2..40a20cafdf 100644 --- a/confirmation/models.py +++ b/confirmation/models.py @@ -65,7 +65,7 @@ def get_object_from_key(confirmation_key: str, obj.save(update_fields=['status']) return obj -def create_confirmation_link(obj: Union[ContentType, int], host: str, +def create_confirmation_link(obj: ContentType, host: str, confirmation_type: int, url_args: Optional[Dict[str, str]]=None) -> str: key = generate_key()