mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-15 14:03:06 +00:00
14 lines
527 B
TypeScript
14 lines
527 B
TypeScript
import { Injectable } from '@angular/core';
|
|
import { RestResponse } from '../cache/response.models';
|
|
import { RawRestResponse } from '../dspace-rest/raw-rest-response.model';
|
|
import { ResponseParsingService } from './parsing.service';
|
|
import { RestRequest } from './rest-request.model';
|
|
|
|
@Injectable()
|
|
export class DebugResponseParsingService implements ResponseParsingService {
|
|
parse(request: RestRequest, data: RawRestResponse): RestResponse {
|
|
console.log('request', request, 'data', data);
|
|
return undefined;
|
|
}
|
|
}
|