mirror of
				https://github.com/datahub-project/datahub.git
				synced 2025-11-03 20:27:50 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			446 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			446 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
import { IFunctionRouteHandler } from 'wherehows-web/typings/ember-cli-mirage';
 | 
						|
import { ApiStatus } from 'wherehows-web/utils/api/shared';
 | 
						|
 | 
						|
const getDatasetComplianceSuggestion = function(
 | 
						|
  this: IFunctionRouteHandler,
 | 
						|
  { complianceSuggestions }: { complianceSuggestions: any }
 | 
						|
) {
 | 
						|
  return {
 | 
						|
    complianceSuggestion: this.serialize(complianceSuggestions.first()),
 | 
						|
    status: ApiStatus.OK
 | 
						|
  };
 | 
						|
};
 | 
						|
 | 
						|
export { getDatasetComplianceSuggestion };
 |