mirror of
				https://github.com/lingble/chatwoot.git
				synced 2025-11-03 20:48:07 +00:00 
			
		
		
		
	* Refactor: Inbox store, remove inboxes from sidebar * Add a new page for inbox settings * Show inboxes on sidebar * Add inbox_members API * Disable similar-code check * Fix codeclimate scss issues * Add widget_color update API and actions * Add specs for inbox store * Fix Facebook auth flow * Fix agent loading, inbox name
		
			
				
	
	
		
			14 lines
		
	
	
		
			395 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			395 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) {
 | 
						|
    const urlData = endPoints('fetchFacebookPages');
 | 
						|
    urlData.params.omniauth_token = token;
 | 
						|
    return axios.post(urlData.url, urlData.params);
 | 
						|
  },
 | 
						|
};
 |