Merge pull request #618 from sharetribe/remove-details

Remove details from API error prop type
This commit is contained in:
Mikko Koski 2018-01-02 13:52:05 +02:00 committed by GitHub
commit aab46a2dee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 5 deletions

View file

@ -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"

View file

@ -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.)