mirror of
				https://github.com/lingble/chatwoot.git
				synced 2025-10-31 02:57:57 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			417 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			417 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| /* eslint no-console: 0 */
 | |
| /* global axios */
 | |
| /* eslint no-undef: "error" */
 | |
| /* eslint no-unused-expressions: ["error", { "allowShortCircuit": true }] */
 | |
| import endPoints from './endPoints';
 | |
| 
 | |
| export default {
 | |
|   fetchFacebookPages(token, accountId) {
 | |
|     const urlData = endPoints('fetchFacebookPages');
 | |
|     urlData.params.omniauth_token = token;
 | |
|     return axios.post(urlData.url(accountId), urlData.params);
 | |
|   },
 | |
| };
 | 
