mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-18 15:33:04 +00:00
Merge branch 'pr/271' into entities-w2p-51847
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
import { IDToUUIDSerializer } from './it-to-uuid-serializer';
|
import { IDToUUIDSerializer } from './it-to-uuid-serializer';
|
||||||
|
|
||||||
fdescribe('IDToUUIDSerializer', () => {
|
describe('IDToUUIDSerializer', () => {
|
||||||
let serializer: IDToUUIDSerializer;
|
let serializer: IDToUUIDSerializer;
|
||||||
const prefix = 'test-prefix';
|
const prefix = 'test-prefix';
|
||||||
|
|
||||||
|
@@ -30,7 +30,7 @@ export class DSOResponseParsingService extends BaseResponseParsingService implem
|
|||||||
const processRequestDTO = this.process<NormalizedObject,ResourceType>(data.payload, request.href);
|
const processRequestDTO = this.process<NormalizedObject,ResourceType>(data.payload, request.href);
|
||||||
let objectList = processRequestDTO;
|
let objectList = processRequestDTO;
|
||||||
if (hasNoValue(processRequestDTO)) {
|
if (hasNoValue(processRequestDTO)) {
|
||||||
return new DSOSuccessResponse(undefined, data.statusCode, undefined)
|
return new DSOSuccessResponse([], data.statusCode, undefined)
|
||||||
}
|
}
|
||||||
if (hasValue(processRequestDTO.page)) {
|
if (hasValue(processRequestDTO.page)) {
|
||||||
objectList = processRequestDTO.page;
|
objectList = processRequestDTO.page;
|
||||||
|
Reference in New Issue
Block a user