mirror of
				https://github.com/lingble/chatwoot.git
				synced 2025-10-31 11:08:04 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			292 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			292 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| /* global axios */
 | |
| import ApiClient from './ApiClient';
 | |
| 
 | |
| class UserNotificationSettings extends ApiClient {
 | |
|   constructor() {
 | |
|     super('user/notification_settings');
 | |
|   }
 | |
| 
 | |
|   update(params) {
 | |
|     return axios.patch(`${this.url}`, params);
 | |
|   }
 | |
| }
 | |
| 
 | |
| export default new UserNotificationSettings();
 | 
