Skip to content

Commit

Permalink
[IM] Reverted unrelated ResponseError interface changes
Browse files Browse the repository at this point in the history
  • Loading branch information
yuliacech committed Mar 28, 2022
1 parent df62d6d commit 09fa429
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ type HttpResponse = Record<string, any> | any[];
type HttpMethod = 'GET' | 'PUT' | 'DELETE' | 'POST';

export interface ResponseError {
status: number;
error: string;
message: string;
statusCode: number;
message: string | Error;
attributes?: Record<string, any>;
}

// Register helpers to mock HTTP Requests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ describe('<IndexManagementHome />', () => {
}`);

const error = {
status: 400,
statusCode: 400,
error: 'Bad Request',
message: 'invalid tier names found in ...',
};
Expand Down

0 comments on commit 09fa429

Please sign in to comment.