lint
This commit is contained in:
parent
911516add2
commit
55b21c4989
@ -18,9 +18,7 @@ export interface QueryParam {
|
||||
*/
|
||||
export abstract class GenericService<I> {
|
||||
protected readonly _http = inject(HttpClient);
|
||||
protected readonly _lastCheckedForChanges = new Map<string, string>([
|
||||
[ROOT_CHANGES_KEY, new Date(Date.now()).toISOString()],
|
||||
]);
|
||||
protected readonly _lastCheckedForChanges = new Map<string, string>([[ROOT_CHANGES_KEY, new Date(Date.now()).toISOString()]]);
|
||||
protected abstract readonly _defaultModelPath: string;
|
||||
protected readonly _serviceName: string = 'redaction-gateway-v1';
|
||||
|
||||
@ -40,7 +38,7 @@ export abstract class GenericService<I> {
|
||||
headers: HeadersConfiguration.getHeaders({ contentType: false }),
|
||||
observe: 'body',
|
||||
params: this._queryParams(queryParams),
|
||||
})
|
||||
});
|
||||
}
|
||||
|
||||
getFor<R = I[]>(entityId: string, queryParams?: List<QueryParam>): Observable<R> {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user