@availity/api-axios
Version:
Wrappers for axios designed to work with the Availity portal
19 lines (15 loc) • 342 B
JavaScript
import AvApi from '../api';
export default class AvUserApi extends AvApi {
constructor(config) {
super({
path: 'api/sdk/platform',
name: 'users',
...config,
});
}
async me(config) {
const response = await this.get('me', config);
return response.data;
}
}
export const avUserApi = new AvUserApi();