@availity/api-axios
Version:
Wrappers for axios designed to work with the Availity portal
19 lines (15 loc) • 412 B
JavaScript
import AvApi from '../api';
export default class AvNotificationsApi extends AvApi {
constructor(config) {
super({
path: 'api',
name: 'notifications',
...config,
});
}
async deleteByTopic(topic, config) {
const removeConfig = this.addParams({ topicId: topic }, config);
return this.remove(removeConfig);
}
}
export const avNotificationsApi = new AvNotificationsApi();