mirror of
				https://github.com/strapi/strapi.git
				synced 2025-11-04 11:54:10 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			193 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			193 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
'use strict';
 | 
						|
 | 
						|
const { prop } = require('lodash/fp');
 | 
						|
 | 
						|
const getService = name => {
 | 
						|
  return prop(`users-permissions.services.${name}`, strapi.plugins);
 | 
						|
};
 | 
						|
 | 
						|
module.exports = {
 | 
						|
  getService,
 | 
						|
};
 |