feat: add license. (#10403)

This commit is contained in:
Garfield Dai authored and GitHub committed 2024-11-15 17:59:36 +08:00
1 parent 2fed55ae6b
commit c2ce2f88c7
7 files changed
+60 -5

No files matched your search

+6
View File
@@ -86,3 +86,9 @@ class NoFileUploadedError(BaseHTTPException):
error_code = "no_file_uploaded"
description = "Please upload your file."
code = 400
class UnauthorizedAndForceLogout(BaseHTTPException):
error_code = "unauthorized_and_force_logout"
description = "Unauthorized and force logout."
code = 401