mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-16 14:33:03 +00:00
Added comment
This commit is contained in:
@@ -67,6 +67,7 @@ export class RequestService {
|
||||
.flatMap((uuid: string) => this.getByUUID(uuid));
|
||||
}
|
||||
|
||||
// TODO to review "overrideRequest" param when https://github.com/DSpace/dspace-angular/issues/217 will be fixed
|
||||
configure<T extends CacheableObject>(request: RestRequest, overrideRequest: boolean = false): void {
|
||||
if (request.method !== RestRequestMethod.Get || !this.isCachedOrPending(request) || overrideRequest) {
|
||||
this.dispatchRequest(request, overrideRequest);
|
||||
|
Reference in New Issue
Block a user