mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-18 07:23:03 +00:00
Merge remote-tracking branch 'atmire-internal/responseMsToLive' into patch-support
Conflicts: src/app/core/data/request.models.ts src/config/cache-config.interface.ts
This commit is contained in:
@@ -21,7 +21,8 @@ export abstract class RestRequest {
|
||||
public href: string,
|
||||
public method: RestRequestMethod = RestRequestMethod.GET,
|
||||
public body?: any,
|
||||
public options?: HttpOptions
|
||||
public options?: HttpOptions,
|
||||
public responseMsToLive?: number
|
||||
) {
|
||||
}
|
||||
|
||||
@@ -35,9 +36,10 @@ export class GetRequest extends RestRequest {
|
||||
public uuid: string,
|
||||
public href: string,
|
||||
public body?: any,
|
||||
public options?: HttpOptions
|
||||
public options?: HttpOptions,
|
||||
public responseMsToLive?: number
|
||||
) {
|
||||
super(uuid, href, RestRequestMethod.GET, body)
|
||||
super(uuid, href, RestRequestMethod.GET, body, options, responseMsToLive)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user