| Conditions | 2 |
| Total Lines | 13 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | import ApiService from '../api.service'; |
||
| 42 | updateUser(additionalParams = {}, additionalHeaders = {}) { |
||
| 43 | const data = additionalParams; |
||
| 44 | const headers = this.getBasicHeaders(additionalHeaders); |
||
| 45 | |||
| 46 | return this.httpClient |
||
| 47 | .patch('/_info/me', data, |
||
| 48 | { |
||
| 49 | headers |
||
| 50 | }) |
||
| 51 | .then((response) => { |
||
| 52 | return ApiService.handleResponse(response); |
||
| 53 | }); |
||
| 54 | } |
||
| 55 | } |
||
| 58 |