Code format.

This commit is contained in:
Kevin Hu 2025-11-28 19:04:07 +08:00
parent 1fd77b1344
commit 024632a1b8

View file

@ -595,7 +595,7 @@ class FileService(CommonService):
return errors
@staticmethod
def upload_info(user_id, file, url: str=None):
def upload_info(user_id, file, url: str|None=None):
def structured(filename, filetype, blob, content_type):
nonlocal user_id
if filetype == FileType.PDF.value: