mirror of
				https://github.com/veops/cmdb.git
				synced 2025-11-04 21:56:16 +08:00 
			
		
		
		
	fix(api): common_data
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user