mirror of
https://github.com/sasjs/adapter.git
synced 2025-12-11 01:14:36 +00:00
fix: ErrorResponse body changed to error
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
export class ErrorResponse {
|
||||
body: ErrorBody
|
||||
error: ErrorBody
|
||||
|
||||
constructor(message: string, details?: any) {
|
||||
let detailsString = ''
|
||||
@@ -11,7 +11,7 @@ export class ErrorResponse {
|
||||
raw = details
|
||||
}
|
||||
|
||||
this.body = {
|
||||
this.error = {
|
||||
message,
|
||||
details: detailsString,
|
||||
raw
|
||||
|
||||
Reference in New Issue
Block a user