Skip to content

Commit 470ab38

Browse files
Merge pull request #761 from kuzzleio/FIX/mResponseErrors-return-body-not-source
fix(mRepsonse): mResponseError contains a body not a _source property
2 parents 18ff52b + cb7f0b4 commit 470ab38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types/mResponses.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ type mResponseErrors = Array<{
66
*/
77
document: {
88
_id: string;
9-
_source: JSONObject;
9+
body: JSONObject;
1010
};
1111

1212
/**

0 commit comments

Comments
 (0)