Skip to content

Commit

Permalink
fix: batch type
Browse files Browse the repository at this point in the history
  • Loading branch information
Soontao committed Aug 10, 2020
1 parent 175b7bb commit 9b2d981
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/builder/batch.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// https://docs.oasis-open.org/odata/odata-json-format/v4.01/odata-json-format-v4.01.html#_Toc38457781
// support json format for batch request

export interface JsonBatchBundle {
export interface JsonBatchRequestBundle {
requests: JsonBatchRequest[];
}

Expand All @@ -20,7 +20,7 @@ export interface JsonBatchRequest<T = any> {
}

export interface JsonBatchResponseBundle {
responses: JsonBatchRequest[]
responses: JsonBatchResponse[]
}

export interface JsonBatchResponse<T = any> {
Expand Down

0 comments on commit 9b2d981

Please sign in to comment.