From 9b2d9819ab9b8e56ec7fe7aa2b7d85f85154c5ec Mon Sep 17 00:00:00 2001 From: Theo Sun Date: Mon, 10 Aug 2020 13:06:15 +0800 Subject: [PATCH] fix: batch type --- src/builder/batch.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/builder/batch.ts b/src/builder/batch.ts index bf7269b..89bfd21 100644 --- a/src/builder/batch.ts +++ b/src/builder/batch.ts @@ -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[]; } @@ -20,7 +20,7 @@ export interface JsonBatchRequest { } export interface JsonBatchResponseBundle { - responses: JsonBatchRequest[] + responses: JsonBatchResponse[] } export interface JsonBatchResponse {