Fix an error with file attachment comments.
Review Request #14259 — Created Dec. 4, 2024 and submitted — Latest diff uploaded
I ran into an error with the file attachment comments API where we were
trying to serialize the thumbnail HTML, butmark_safe
had been
incorrectly moved into aTYPE_CHECKING
block. This change fixes that.
Was able to fetch file attachment comments with thumbnail HTML via the
API.