fix(api): common_data (#311)

This commit is contained in:
simontigers 2023-12-15 10:56:04 +08:00 committed by GitHub
parent 1d253d7ad3
commit 5320ecfd62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ class CommonDataCRUD(object):
@staticmethod
def check_auth_type(data_type):
if data_type not in list(AuthenticateType.all()) + [AuthCommonConfig]:
if data_type in list(AuthenticateType.all()) + [AuthCommonConfig]:
abort(400, ErrFormat.common_data_not_support_auth_type.format(data_type))
@staticmethod