mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-18 07:23:03 +00:00
58522: implemented delete for coll and comms
This commit is contained in:
@@ -227,6 +227,17 @@ export class CreateRequest extends PostRequest {
|
||||
}
|
||||
}
|
||||
|
||||
export class DeleteByIDRequest extends DeleteRequest {
|
||||
constructor(
|
||||
uuid: string,
|
||||
href: string,
|
||||
public resourceID: string
|
||||
) {
|
||||
super(uuid, href);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
export class RequestError extends Error {
|
||||
statusText: string;
|
||||
}
|
||||
|
Reference in New Issue
Block a user