25 lines
557 B
TypeScript
25 lines
557 B
TypeScript
|
import { Injectable, Inject } from '@angular/core';
|
||
|
|
||
|
import { AxiosInstance } from 'axios';
|
||
|
|
||
|
import {
|
||
|
ModuleConfig,
|
||
|
MessageApiService as UcapMessageApiService
|
||
|
} from '@ucap/api-message';
|
||
|
|
||
|
import { AXIOS_INSTANCE } from '@ucap/ng-core';
|
||
|
|
||
|
import { _MODULE_CONFIG } from '../config/token';
|
||
|
|
||
|
@Injectable({
|
||
|
providedIn: 'root'
|
||
|
})
|
||
|
export class MessageApiService extends UcapMessageApiService {
|
||
|
constructor(
|
||
|
@Inject(_MODULE_CONFIG) moduleConfig: ModuleConfig,
|
||
|
@Inject(AXIOS_INSTANCE) axios: AxiosInstance
|
||
|
) {
|
||
|
super(moduleConfig, axios);
|
||
|
}
|
||
|
}
|