mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-26 06:47:17 +10:00
Merge pull request #618 from sharetribe/remove-details
Remove details from API error prop type
This commit is contained in:
commit
aab46a2dee
2 changed files with 1 additions and 5 deletions
|
|
@ -40,7 +40,7 @@
|
|||
"redux-thunk": "^2.2.0",
|
||||
"sanitize.css": "^5.0.0",
|
||||
"sharetribe-scripts": "1.0.14",
|
||||
"sharetribe-sdk": "git+ssh://git@github.com/sharetribe/sharetribe-sdk-js#ff76ef91e1e3b1e26b035a04d643d328ea3d1d61",
|
||||
"sharetribe-sdk": "git+ssh://git@github.com/sharetribe/sharetribe-sdk-js#267efc4ca52dd1ad54db6bf3c37ab8ebcd8a86ab",
|
||||
"smoothscroll-polyfill": "^0.4.0",
|
||||
"source-map-support": "^0.5.0",
|
||||
"url": "^0.11.0"
|
||||
|
|
|
|||
|
|
@ -383,10 +383,6 @@ export const apiError = shape({
|
|||
status: number.isRequired,
|
||||
code: oneOf(ERROR_CODES).isRequired,
|
||||
title: string.isRequired,
|
||||
details: shape({
|
||||
data: object,
|
||||
msg: string,
|
||||
}),
|
||||
});
|
||||
|
||||
// Storable error prop type. (Error object should not be stored as it is.)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue